diff_output.c
43.2 KB
-
Fix line numbering for patches with eofnl · c2f602f8
When a patch contained an eofnl change (i.e. the last line either gained or lost a newline), the oldno and newno line number values for the lines in the last hunk of the patch were not useful. This makes them behave in a more expected manner.
Russell Belfer committed