diff options
author | Russell Belfer <rb@github.com> | 2013-10-30 13:56:42 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-11-01 10:20:51 -0700 |
commit | 3940310e29363978ccdc1f3b557bc6f48ebae8f0 (patch) | |
tree | 0a1d4704fe3329064ad2344ccf8a9a46b843d125 /include | |
parent | 567649f2ada60e5c3009cc985af238b452b14a81 (diff) | |
download | libgit2-3940310e29363978ccdc1f3b557bc6f48ebae8f0.tar.gz |
Fix some of the glaring errors in GIT_DIFF_REVERSE
These changes fix the basic problem with GIT_DIFF_REVERSE being
broken for text diffs. The reversed diff entries were getting
added to the git_diff correctly, but some of the metadata was kept
incorrectly in a way that prevented the text diffs from being
generated correctly. Once I fixed that, it became clear that it
was not possible to merge reversed diffs correctly. This has a
first pass at fixing that problem. We probably need more tests
to make sure that is really fixed thoroughly.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions