Fix line numbering for patches with eofnl
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.
Showing
Please
register
or
sign in
to comment