summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 77ba305)
raw | patch | inline | side by side (parent: 77ba305)
author | Avery Pennarun <apenwarr@gmail.com> | |
Tue, 9 Feb 2010 00:42:15 +0000 (19:42 -0500) | ||
committer | Avery Pennarun <apenwarr@gmail.com> | |
Tue, 9 Feb 2010 00:42:15 +0000 (19:42 -0500) |
Thanks to Dan Sabath for pointing that out.
test.sh | patch | blob | history |
index 1446cfeed89071c9935d5fb9a8ea24ec0988d436..c6ecde20bdf4f7acfd624bc6d85efe6b0e42732f 100755 (executable)
--- a/test.sh
+++ b/test.sh
# Check that the <prefix> exists for a split.
! result=$(git subtree split --prefix=non-existent-directory 2>&1)
-check_equal "non-existent-directory does not exist." "$result"
+check_equal "'non-existent-directory' does not exist; use 'git subtree add'" \
+ "$result"
# check if --message works for split+rejoin
spl1=$(git subtree split --annotate='*' --prefix subdir --onto FETCH_HEAD --message "Split & rejoin" --rejoin)