diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-05 20:06:18 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-03-09 00:43:47 -0800 |
commit | 91e4f03604bd089e09154e95294d5d08c805ea49 (patch) | |
tree | 4e558499cc4f26afc480983d28e9a1401fac818e /pack.h | |
parent | 5803c6f8a2faf8cfbbd046d9ebd682b82bb2b086 (diff) | |
download | git-91e4f03604bd089e09154e95294d5d08c805ea49.tar.gz |
Make 'traverse_trees()' traverse conflicting DF entries in parallel
This makes the traverse_trees() entry comparator routine use the more
relaxed form of name comparison that considers files and directories
with the same name identical.
We pass in a separate mask for just the directory entries, so that the
callback routine can decide (if it wants to) to only handle one or the
other type, but generally most (all?) users are expected to really want
to see the case of a name 'foo' showing up in one tree as a file and in
another as a directory at the same time.
In particular, moving 'unpack_trees()' over to use this tree traversal
mechanism requires this.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack.h')
0 files changed, 0 insertions, 0 deletions