diff options
| author | Russell Belfer <rb@github.com> | 2012-08-30 14:24:16 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2012-09-05 15:17:24 -0700 |
| commit | f335ecd6e126aa9dea28786522c0e6ce71596e91 (patch) | |
| tree | 3393df3457e423ddc1aaad4d89fb29184246f3a8 /tests-clar/resources | |
| parent | 4d3834038bd0aaef63d62c54900f6ddafec09515 (diff) | |
| download | libgit2-f335ecd6e126aa9dea28786522c0e6ce71596e91.tar.gz | |
Diff iterators
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.
Diffstat (limited to 'tests-clar/resources')
| -rw-r--r-- | tests-clar/resources/attr/.gitted/index | bin | 1856 -> 1856 bytes |
| -rw-r--r-- | tests-clar/resources/issue_592/.gitted/index | bin | 392 -> 392 bytes |
| -rw-r--r-- | tests-clar/resources/status/.gitted/index | bin | 1160 -> 1160 bytes |
3 files changed, 0 insertions, 0 deletions
diff --git a/tests-clar/resources/attr/.gitted/index b/tests-clar/resources/attr/.gitted/index Binary files differindex 943e2243e..439ffb151 100644 --- a/tests-clar/resources/attr/.gitted/index +++ b/tests-clar/resources/attr/.gitted/index diff --git a/tests-clar/resources/issue_592/.gitted/index b/tests-clar/resources/issue_592/.gitted/index Binary files differindex eaeb5d761..be7a29d99 100644 --- a/tests-clar/resources/issue_592/.gitted/index +++ b/tests-clar/resources/issue_592/.gitted/index diff --git a/tests-clar/resources/status/.gitted/index b/tests-clar/resources/status/.gitted/index Binary files differindex 9a383ec0c..2af99a183 100644 --- a/tests-clar/resources/status/.gitted/index +++ b/tests-clar/resources/status/.gitted/index |
