diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:09:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:09:16 -0700 |
commit | 0258ed1e08e7973f1d6829db8d33109851067a91 (patch) | |
tree | c94e74d689f3b1ab05cf3a14392016795506d899 /t/helper | |
parent | Merge branch 'mk/pb-pretty-email-without-domain-part-fix' (diff) | |
parent | commit-reach: avoid is_descendant_of() shim (diff) | |
download | tgif-0258ed1e08e7973f1d6829db8d33109851067a91.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-reach.c b/t/helper/test-reach.c index ccf837cb33..14a3655442 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]); |