diff options
| author | Luke Shumaker <lukeshu@datawire.io> | 2021-04-27 15:17:33 -0600 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-04-28 16:47:17 +0900 |
| commit | f66430483645eb764135e5c79b753f1c09170ac8 (patch) | |
| tree | 465556a9d10b2300e7a54d75512ea77244201179 /t/t4018/cpp-function-returning-pointer | |
| parent | subtree: drop support for git < 1.7 (diff) | |
| download | git-f66430483645eb764135e5c79b753f1c09170ac8.tar.gz git-f66430483645eb764135e5c79b753f1c09170ac8.zip | |
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 't/t4018/cpp-function-returning-pointer')
0 files changed, 0 insertions, 0 deletions
