Reported by Thomas Keller, May 30, 2011
See http://projects.ceondo.com/p/indefero/source/commit/0aa5999bb37698513 d66453d98101232942a6af3/#diff-0febba1f857d4cd1a930e98d3934bfdb The original hunk is "-1,8 +1,14", but only "-1,5 +1,11" are actually displayed (three new lines are "eaten").
Comment 1 by Thomas Keller, May 31, 2011
This bug was probably introduced through a fix for issue 633. The basic problem is however that the diff parser cannot process empty context lines (those with only a single whitespace in front of it) properly, since these are removed automatically by PHP's exec() call, so a string(1) " " becomes a string(0) "". I'm currently reworking IDF_Scm::exec() to use popen() and not exec(), but I am not through with it yet.