projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.16.1
[platform/upstream/git.git]
/
t
/
t1503-rev-parse-verify.sh
diff --git
a/t/t1503-rev-parse-verify.sh
b/t/t1503-rev-parse-verify.sh
index
ab27d0d
..
492edff
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