mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
Merge branch 'es/adjust-subtree-test-for-merge-msg-update'
Adjust tests in contrib/ to the recent change to fmt-merge-msg. * es/adjust-subtree-test-for-merge-msg-update: Revert "contrib: subtree: adjust test to change in fmt-merge-msg"
This commit is contained in:
commit
83b8250904
@ -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)'\''"
|
||||
)
|
||||
'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user