Is the reported inconsistency the fact that a removed line is shown as hunk header? Which output do you expect instead?

Please note that GNU diff -up does the same; without -p it doesn't show hunk headers at all.

You can select a different method to look for hunk headers by assigning the attribute "diff" to files. The gitattributes(5) manpage mentions diff=tex as an example (under the heading "Defining a custom hunk-header"). This will still look for it in the pre-image (old file), though.

René



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to