diff options
author | Matthew DeVore <matvore@google.com> | 2019-01-09 02:59:14 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-15 23:39:34 (GMT) |
commit | 8272f26034c9dbaf5cd216a137b8e91241cbc24e (patch) | |
tree | c18266c09529e4248b10a2587da1b83cbccc7207 /builtin/revert.c | |
parent | c813a7c35f44f4bf435c6ecb21bf4b9ec8f227de (diff) | |
download | git-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