This refactors the diff output code so that an iterator object can be used to traverse and generate the diffs, instead of just the `foreach()` style with callbacks. The code has been rearranged so that the two styles can still share most functions. This also replaces `GIT_REVWALKOVER` with `GIT_ITEROVER` and uses that as a common error code for marking the end of iteration when using a iterator style of object.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| attr | Loading commit data... | |
| buf | Loading commit data... | |
| checkout | Loading commit data... | |
| clone | Loading commit data... | |
| commit | Loading commit data... | |
| config | Loading commit data... | |
| core | Loading commit data... | |
| date | Loading commit data... | |
| diff | Loading commit data... | |
| index | Loading commit data... | |
| network | Loading commit data... | |
| notes | Loading commit data... | |
| object | Loading commit data... | |
| odb | Loading commit data... | |
| refs | Loading commit data... | |
| repo | Loading commit data... | |
| reset | Loading commit data... | |
| resources | Loading commit data... | |
| revwalk | Loading commit data... | |
| status | Loading commit data... | |
| submodule | Loading commit data... | |
| threads | Loading commit data... | |
| README.md | Loading commit data... | |
| clar | Loading commit data... | |
| clar_helpers.c | Loading commit data... | |
| clar_libgit2.h | Loading commit data... | |
| valgrind-supp-mac.txt | Loading commit data... |