miniblog.
← Back to all posts
Wilfred Hughes
Dec 6, 2016 at 21:47
I'm particularly impressed with the quantitative fitting process used to tune git's diff algorithm in 2.11:
https://github.com/git/git/commit/433860f3d0beb0c6f205290bd16cda413148f098
diff: improve positioning of add/delete blocks in diffs · git/git@433860f
Some groups of added/deleted lines in diffs can be slid up or down, because lines at the edges of the group are not unique. Picking good shifts for such groups is not a matter of correctness but de...