diff options
author | Russell Belfer <rb@github.com> | 2013-05-07 07:15:39 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-05-07 07:15:39 -0700 |
commit | c2f602f8a5265a4be6383127435a18a8be98c9fe (patch) | |
tree | 7d10a47baf41f6813d6565c64a6adb8384082934 /tests-clar/diff/rename.c | |
parent | d63eec6946341e5efa0514bbf2904db2ded2a294 (diff) | |
download | libgit2-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