Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
subtree test: add missing && to &&-chain
[gitweb.git]
/
t
/
t1503-rev-parse-verify.sh
diff --git
a/t/t1503-rev-parse-verify.sh
b/t/t1503-rev-parse-verify.sh
index ab27d0db5c5577a23e1053b58eefa63015526d0c..492edffa9cfb626b4747ead04251fc33b0502ac9 100755
(executable)
--- a/
t/t1503-rev-parse-verify.sh
+++ b/
t/t1503-rev-parse-verify.sh
@@
-139,4
+139,9
@@
test_expect_success 'master@{n} for various n' '
test_must_fail git rev-parse --verify master@{$Np1}
'
+test_expect_success SYMLINKS 'ref resolution not confused by broken symlinks' '
+ ln -s does-not-exist .git/refs/heads/broken &&
+ test_must_fail git rev-parse --verify broken
+'
+
test_done