Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@datawire.io>2021-04-28 00:17:33 +0300
committerJunio C Hamano <gitster@pobox.com>2021-04-28 10:47:17 +0300
commitf66430483645eb764135e5c79b753f1c09170ac8 (patch)
tree465556a9d10b2300e7a54d75512ea77244201179 /contrib/subtree/t
parent8dc3240f5fc78aec1b1e6b10b94fa361bf016157 (diff)
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 'contrib/subtree/t')
0 files changed, 0 insertions, 0 deletions