Here's a tricky diff situation I haven't seen before: a minimal text diff can be ugly.
It would be nicer to match line 6 on the left with line 3 on the right, so the removed region is contiguous.
(git-diff handles this case nicely already.)
miniblog.
Related Posts
I've started keeping a list of particularly interesting bugs and patches that I've worked on: https://github.com/Wilfred/interesting-code
The time that I once removed *a single closing paren* in Emacs is still my favourite.
I've heard of quines, but today I learned about radiation-hardened quines! https://en.wikipedia.org/wiki/Quine_(computing)#Radiation-hardened
These are quines where *any* single character can be removed and they still function. Fun concept, seems easier in a language with eval().
I've released difftastic 0.32! A small release, but well worth upgrading:
* Difftastic is now smarter at discarding obviously unchanged content, producing much faster diffs in a bunch of cases
* Fixed a crash on Windows when a whole file is added/removed


