Huh? You admit yourself that it is not a bug. And sure you can trust the
hunk header. Like most of the things, the relate to the _original_
version, since the diff is meant to be applied as a forward patch.
So for all practical matters, the diff shows the correct thing: "in this
hunk, which (still) belongs to that function, change this and this."
Of course, that is only the case if you accept that the diff should be
applied _in total_, not piecewise. IOW if you are a fan of GNU patch
which happily clobbers your file until it fails with the last hunk, you
will not be happy.
Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html