Add some tests to check various options to subtree add. These test
various combinations of --message, --prefix and --squash.
Signed-off-by: Techlive Zheng <techlivezheng@gmail.com>
Signed-off-by: David A. Greene <greened@obbligato.org>
Signed-off-by: Jeff King <peff@peff.net>
check_equal ''"$(last_commit_message)"'' "Added subproject using git subtree" &&
@ -145,6 +157,13 @@ test_expect_success 'check if --message works with squash too' '
@@ -145,6 +157,13 @@ test_expect_success 'check if --message works with squash too' '
undo
'
test_expect_success 'add subproj as subtree into sub dir/ with --squash and --prefix and --message' '