mirror of
https://git.proxmox.com/git/libgit2
synced 2025-10-25 02:23:46 +00:00
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. |
||
|---|---|---|
| .. | ||
| .gitted | ||
| subdir | ||
| current_file | ||
| ignored_file | ||
| modified_file | ||
| new_file | ||
| staged_changes | ||
| staged_changes_modified_file | ||
| staged_delete_modified_file | ||
| staged_new_file | ||
| staged_new_file_modified_file | ||
| subdir.txt | ||
| 这 | ||