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 |
---|---|---|
.. | ||
.gitted | Loading commit data... | |
subdir | Loading commit data... | |
current_file | Loading commit data... | |
ignored_file | Loading commit data... | |
modified_file | Loading commit data... | |
new_file | Loading commit data... | |
staged_changes | Loading commit data... | |
staged_changes_modified_file | Loading commit data... | |
staged_delete_modified_file | Loading commit data... | |
staged_new_file | Loading commit data... | |
staged_new_file_modified_file | Loading commit data... | |
subdir.txt | Loading commit data... | |
这 | Loading commit data... |