]> git.proxmox.com Git - libgit2.git/commit - tests/diff/diffiter.c
Fix bugs in new diff patch code
authorRussell Belfer <rb@github.com>
Tue, 25 Sep 2012 17:48:50 +0000 (10:48 -0700)
committerRussell Belfer <rb@github.com>
Tue, 25 Sep 2012 23:35:05 +0000 (16:35 -0700)
commit642863086575a61b3ed0bbbe909f4f07d87ff9db
tree22cb6c0d2355e4a15edd645104b39fe2c33c97ac
parent5f69a31f7d706aa5788ad9937391577a66e3c77d
Fix bugs in new diff patch code

This fixes all the bugs in the new diff patch code.  The only
really interesting one is that when we merge two diffs, we now
have to actually exclude diff delta records that are not supposed
to be tracked, as opposed to before where they could be included
because they would be skipped silently by `git_diff_foreach()`.
Other than that, there are just minor errors.
include/git2/diff.h
src/diff.c
src/diff.h
src/diff_output.c
tests-clar/diff/diff_helpers.c
tests-clar/diff/diffiter.c