summaryrefslogtreecommitdiff
path: root/dir-iterator.h
diff options
context:
space:
mode:
authorLibravatar Luke Shumaker <lukeshu@datawire.io>2021-04-27 15:17:33 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-28 16:47:17 +0900
commitf66430483645eb764135e5c79b753f1c09170ac8 (patch)
tree465556a9d10b2300e7a54d75512ea77244201179 /dir-iterator.h
parentsubtree: drop support for git < 1.7 (diff)
downloadtgif-f66430483645eb764135e5c79b753f1c09170ac8.tar.xz
subtree: use `git merge-base --is-ancestor`
Instead of writing a slow `rev_is_descendant_of_branch $a $b` function in shell, just use the fast `git merge-base --is-ancestor $b $a`. Signed-off-by: Luke Shumaker <lukeshu@datawire.io> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir-iterator.h')
0 files changed, 0 insertions, 0 deletions