diff options
Diffstat (limited to 't/helper')
-rw-r--r-- | t/helper/test-reach.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/helper/test-reach.c b/t/helper/test-reach.c index 4df01187c9..e32e193b70 100644 --- a/t/helper/test-reach.c +++ b/t/helper/test-reach.c @@ -102,6 +102,10 @@ int cmd__reach(int ac, const char **av) struct commit_list *list = get_merge_bases_many(A, X_nr, X_array); printf("%s(A,X):\n", av[1]); print_sorted_commit_ids(list); + } else if (!strcmp(av[1], "reduce_heads")) { + struct commit_list *list = reduce_heads(X); + printf("%s(X):\n", av[1]); + print_sorted_commit_ids(list); } exit(0); |