diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-08-29 12:31:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-29 15:08:31 -0700 |
commit | 40e372563cfbcce4380820ae03e872f09fa25327 (patch) | |
tree | ee2b3a45249377411570a420aa950327ff3bbd59 /http-backend.c | |
parent | traverse_trees(): allow pruning with pathspec (diff) | |
download | tgif-40e372563cfbcce4380820ae03e872f09fa25327.tar.xz |
unpack-trees: allow pruning with pathspec
Use the pathspec pruning of traverse_trees() from unpack_trees(). Again,
the unpack_trees() machinery is primarily meant for merging two (or more)
trees, and because a merge is a full tree operation, it didn't support any
pruning with pathspec, and this codepath probably should not be enabled
while running a merge, but the caller in diff-lib.c::diff_cache() should
be able to take advantage of it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-backend.c')
0 files changed, 0 insertions, 0 deletions