Uniform iterators for trees, index, and workdir
This create a new git_iterator type of object that provides a uniform interface for iterating over the index, an arbitrary tree, or the working directory of a repository. As part of this, git ignore support was extended to support push and pop of directory-based ignore files as the working directory is being traversed (so the array of ignores does not have to be recreated at each directory during traveral). There are a number of other small utility functions in buffer, path, vector, and fileops that are included in this patch that made the iterator implementation cleaner.
Showing
src/iterator.c
0 → 100644
This diff is collapsed.
Click to expand it.
src/iterator.h
0 → 100644
tests-clar/diff/diff_helpers.c
0 → 100644
tests-clar/diff/diff_helpers.h
0 → 100644
tests-clar/diff/iterator.c
0 → 100644
Please
register
or
sign in
to comment