Fix problems in diff iterator record chaining
There is a bug in building the linked list of line records in the diff iterator and also an off by one element error in the hunk counts. This fixes both of these, adds some test data with more complex sets of hunk and line diffs to exercise this code better.
Showing
tests-clar/resources/diff/.gitted/HEAD
0 → 100644
tests-clar/resources/diff/.gitted/config
0 → 100644
tests-clar/resources/diff/.gitted/index
0 → 100644
File added
tests-clar/resources/diff/.gitted/logs/HEAD
0 → 100644
File added
File added
File added
File added
File added
File added
File added
File added
tests-clar/resources/diff/another.txt
0 → 100644
tests-clar/resources/diff/readme.txt
0 → 100644
Please
register
or
sign in
to comment