Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Diff iterators | Russell Belfer | 2012-09-05 | 1 | -0/+116 |
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. |