Delete the comments indicating test numbers as it causes maintenance
headaches. t*.sh -i will help us find any broken tests and these
numbers are not helping us anyway.
Signed-off-by: David A. Greene <greened@obbligato.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
David A. Greene12 years agocommitted byJunio C Hamano
check_equal ''"$(last_commit_message)"'' "Merged changes from subproject" &&
undo
'
# 19
test_expect_success 'check if --message for merge works with squash too' '
git subtree merge --prefix subdir -m "Merged changes from subproject using squash" --squash sub2 &&
check_equal ''"$(last_commit_message)"'' "Merged changes from subproject using squash" &&
undo
'
# 20
test_expect_success 'merge new subproj history into subdir' '
git subtree merge --prefix=subdir FETCH_HEAD &&
git branch pre-split &&
check_equal ''"$(last_commit_message)"'' "Merge commit '"'"'"$(git rev-parse sub2)"'"'"' into mainline"
'
# 21
test_expect_success 'Check that prefix argument is required for split' '
echo "You must provide the --prefix option." > expected &&
test_must_fail git subtree split > actual 2>&1 &&
@ -207,7 +186,6 @@ test_expect_success 'Check that prefix argument is required for split' '
@@ -207,7 +186,6 @@ test_expect_success 'Check that prefix argument is required for split' '
rm -f expected actual
'
# 22
test_expect_success 'Check that the <prefix> exists for a split' '
echo "'"'"'non-existent-directory'"'"'" does not exist\; use "'"'"'git subtree add'"'"'" > expected &&
test_must_fail git subtree split --prefix=non-existent-directory > actual 2>&1 &&
@ -219,7 +197,6 @@ test_expect_success 'Check that the <prefix> exists for a split' '
@@ -219,7 +197,6 @@ test_expect_success 'Check that the <prefix> exists for a split' '
# rm -f expected actual
'
# 23
test_expect_success 'check if --message works for split+rejoin' '
@ -227,7 +204,6 @@ test_expect_success 'check if --message works for split+rejoin' '
@@ -227,7 +204,6 @@ test_expect_success 'check if --message works for split+rejoin' '
@ -244,13 +219,10 @@ test_expect_success 'check split with --branch for an existing branch' '
@@ -244,13 +219,10 @@ test_expect_success 'check split with --branch for an existing branch' '
@ -333,20 +296,17 @@ test_expect_success 'make sure the subproj history *only* contains commits that
@@ -333,20 +296,17 @@ test_expect_success 'make sure the subproj history *only* contains commits that
test_expect_success 'make sure each filename changed exactly once in the entire history' '
# main-sub?? and /subdir/main-sub?? both change, because those are the
# changes that were split into their own history. And subdir/sub?? never
@ -355,12 +315,10 @@ test_expect_success 'make sure each filename changed exactly once in the entire
@@ -355,12 +315,10 @@ test_expect_success 'make sure each filename changed exactly once in the entire
@ -370,14 +328,12 @@ test_expect_success 'make sure no "git subtree" tagged commits make it into subp
@@ -370,14 +328,12 @@ test_expect_success 'make sure no "git subtree" tagged commits make it into subp