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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
attr | Loading commit data... | |
attr_index | Loading commit data... | |
bad_tag.git | Loading commit data... | |
config | Loading commit data... | |
deprecated-mode.git | Loading commit data... | |
diff | Loading commit data... | |
duplicate.git | Loading commit data... | |
empty_bare.git | Loading commit data... | |
empty_standard_repo/.gitted | Loading commit data... | |
filemodes | Loading commit data... | |
issue_592 | Loading commit data... | |
issue_592b | Loading commit data... | |
status | Loading commit data... | |
submod2 | Loading commit data... | |
submod2_target | Loading commit data... | |
submodules | Loading commit data... | |
template | Loading commit data... | |
testrepo/.gitted | Loading commit data... | |
testrepo.git | Loading commit data... | |
.gitattributes | Loading commit data... | |
.gitignore | Loading commit data... | |
big.index | Loading commit data... | |
gitgit.index | Loading commit data... |