Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
checkout: mention '--' in the docs
[gitweb.git]
/
t
/
t7201-co.sh
diff --git
a/t/t7201-co.sh
b/t/t7201-co.sh
index 3111baa9e38ecf96de6385dc9241ea8c992e4992..9ad5d635a2881c920fff8e524aea0ed931f68e6c 100755
(executable)
--- a/
t/t7201-co.sh
+++ b/
t/t7201-co.sh
@@
-335,6
+335,6
@@
test_expect_success \
git checkout -b delete-me master &&
rm .git/refs/heads/delete-me &&
test refs/heads/delete-me = "$(git symbolic-ref HEAD)" &&
-
!(git checkout --track -b track)
'
+
test_must_fail git checkout --track -b track
'
test_done