]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Revert "contrib: subtree: adjust test to change in fmt-merge-msg"
authorEmily Shaffer <emilyshaffer@google.com>
Mon, 3 Aug 2020 18:57:49 +0000 (11:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2020 19:48:00 +0000 (12:48 -0700)
This reverts commit 508fd8e8baf3e18ee40b2cf0b8899188a8506d07.

In 6e6029a8 (fmt-merge-msg: allow merge destination to be omitted again)
we get back the behavior where merges against 'master', by default, do
not include "into 'master'" at the end of the merge message. This test
fix is no longer needed.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/subtree/t/t7900-subtree.sh

index 53d7accf949fef1882f051805570a4797e46de3f..57ff4b25c17e5479e9dc058fd723d44faa23877b 100755 (executable)
@@ -196,8 +196,7 @@ test_expect_success 'merge new subproj history into sub dir/ with --prefix' '
                cd "$subtree_test_count" &&
                git fetch ./"sub proj" master &&
                git subtree merge --prefix="sub dir" FETCH_HEAD &&
-               check_equal "$(last_commit_message)" \
-                       "Merge commit '\''$(git rev-parse FETCH_HEAD)'\'' into master"
+               check_equal "$(last_commit_message)" "Merge commit '\''$(git rev-parse FETCH_HEAD)'\''"
        )
 '
 
@@ -274,8 +273,7 @@ test_expect_success 'merge new subproj history into subdir/ with a slash appende
                cd "$test_count" &&
                git fetch ./subproj master &&
                git subtree merge --prefix=subdir/ FETCH_HEAD &&
-               check_equal "$(last_commit_message)" \
-                       "Merge commit '\''$(git rev-parse FETCH_HEAD)'\'' into master"
+               check_equal "$(last_commit_message)" "Merge commit '\''$(git rev-parse FETCH_HEAD)'\''"
        )
 '