summaryrefslogtreecommitdiff
path: root/builtin/revert.c
diff options
context:
space:
mode:
authorMatthew DeVore <matvore@google.com>2019-01-09 02:59:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-15 23:39:34 (GMT)
commit8272f26034c9dbaf5cd216a137b8e91241cbc24e (patch)
treec18266c09529e4248b10a2587da1b83cbccc7207 /builtin/revert.c
parentc813a7c35f44f4bf435c6ecb21bf4b9ec8f227de (diff)
downloadgit-8272f26034c9dbaf5cd216a137b8e91241cbc24e.zip
git-8272f26034c9dbaf5cd216a137b8e91241cbc24e.tar.gz
git-8272f26034c9dbaf5cd216a137b8e91241cbc24e.tar.bz2
tree:<depth>: skip some trees even when collecting omits
If a tree has already been recorded as omitted, we don't need to traverse it again just to collect its omits. Stop traversing trees a second time when collecting omits. Signed-off-by: Matthew DeVore <matvore@google.com> Reviewed-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/revert.c')
0 files changed, 0 insertions, 0 deletions