summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-07-07 05:09:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-07-07 05:09:16 (GMT)
commit0258ed1e08e7973f1d6829db8d33109851067a91 (patch)
treec94e74d689f3b1ab05cf3a14392016795506d899 /t/helper
parent5c61d10b16ad949af9adf824ae3fd4f62a5142e7 (diff)
parentc1ea625f72110fda87fd225d7dff002befb82d9f (diff)
downloadgit-0258ed1e08e7973f1d6829db8d33109851067a91.zip
git-0258ed1e08e7973f1d6829db8d33109851067a91.tar.gz
git-0258ed1e08e7973f1d6829db8d33109851067a91.tar.bz2
Merge branch 'cb/is-descendant-of'
Code clean-up. * cb/is-descendant-of: commit-reach: avoid is_descendant_of() shim
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-reach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-reach.c b/t/helper/test-reach.c
index ccf837c..14a3655 100644
--- a/t/helper/test-reach.c
+++ b/t/helper/test-reach.c
@@ -108,7 +108,7 @@ int cmd__reach(int ac, const char **av)
else if (!strcmp(av[1], "in_merge_bases"))
printf("%s(A,B):%d\n", av[1], in_merge_bases(A, B));
else if (!strcmp(av[1], "is_descendant_of"))
- printf("%s(A,X):%d\n", av[1], is_descendant_of(A, X));
+ printf("%s(A,X):%d\n", av[1], repo_is_descendant_of(r, A, X));
else if (!strcmp(av[1], "get_merge_bases_many")) {
struct commit_list *list = get_merge_bases_many(A, X_nr, X_array);
printf("%s(A,X):\n", av[1]);