We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0638aa commit a686701Copy full SHA for a686701
contrib/subtree/t/t7900-subtree.sh
@@ -123,6 +123,10 @@ test_expect_success 'no pull from non-existant subtree' '
123
test_must_fail git subtree pull --prefix="sub dir" ./"sub proj" sub1
124
'
125
126
+test_expect_success 'no merge from non-existent subtree' '
127
+ test_must_fail git subtree merge --prefix="sub dir" FETCH_HEAD
128
+'
129
+
130
test_expect_success 'check if --message works for add' '
131
git subtree add --prefix="sub dir" --message="Added subproject" sub1 &&
132
check_equal ''"$(last_commit_message)"'' "Added subproject" &&
0 commit comments