summaryrefslogtreecommitdiff
path: root/tests-clar/diff/rename.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-05-07 07:15:39 -0700
committerRussell Belfer <rb@github.com>2013-05-07 07:15:39 -0700
commitc2f602f8a5265a4be6383127435a18a8be98c9fe (patch)
tree7d10a47baf41f6813d6565c64a6adb8384082934 /tests-clar/diff/rename.c
parentd63eec6946341e5efa0514bbf2904db2ded2a294 (diff)
downloadlibgit2-c2f602f8a5265a4be6383127435a18a8be98c9fe.tar.gz
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.
Diffstat (limited to 'tests-clar/diff/rename.c')
0 files changed, 0 insertions, 0 deletions