mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-04 13:33:41 +00:00
![]() Some nicer refactoring for index iteration walks. The index iterator doesn't binary search through the pathlist space, since it lacks directory entries, and would have to binary search each index entry and all its parents (eg, when presented with an index entry of `foo/bar/file.c`, you would have to look in the pathlist for `foo/bar/file.c`, `foo/bar` and `foo`). Since the index entries and the pathlist are both nicely sorted, we walk the index entries in lockstep with the pathlist like we do for other iteration/diff/merge walks. |
||
---|---|---|
.. | ||
binary.c | ||
blob.c | ||
diff_helpers.c | ||
diff_helpers.h | ||
diffiter.c | ||
drivers.c | ||
format_email.c | ||
index.c | ||
iterator.c | ||
notify.c | ||
patch.c | ||
pathspec.c | ||
rename.c | ||
stats.c | ||
submodules.c | ||
tree.c | ||
workdir.c |