]> granicus.if.org Git - git/commitdiff
t4214: use test_merge
authorDenton Liu <liu.denton@gmail.com>
Fri, 4 Oct 2019 00:23:15 +0000 (17:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Oct 2019 00:28:00 +0000 (09:28 +0900)
In the previous commit, we extended test_merge() so that it could
perform octopus merges. Now that the restriction is lifted, use
test_merge() to perform the octopus merge instead of manually
duplicating test_merge() functionality.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4214-log-graph-octopus.sh

index dab96c89aa8aa5399fe70da118a0437572e90526..f6e22ec82584d9f2127e68cbbe11aa007f624d54 100755 (executable)
@@ -41,8 +41,7 @@ test_expect_success 'set up merge history' '
                test_commit $i $i $i tag$i || return $?
        done &&
        git checkout 1 -b merge &&
-       test_tick &&
-       git merge -m octopus-merge 1 2 3 4 &&
+       test_merge octopus-merge 1 2 3 4 &&
        git checkout 1 -b L &&
        test_commit left
 '