Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t1430: clean up broken refs/tags/shadow
author
Michael Haggerty
<mhagger@alum.mit.edu>
Thu, 7 Apr 2016 19:02:51 +0000
(15:02 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 10 Apr 2016 18:35:03 +0000
(11:35 -0700)
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: David Turner <dturner@twopensource.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1430-bad-ref-name.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
f86d835
)
diff --git
a/t/t1430-bad-ref-name.sh
b/t/t1430-bad-ref-name.sh
index 005e2b1756d1f04bfc6fcb68d9b336d089cdbf92..cb815ab6c36091e78ae203f7939c8e0f7cf045e3 100755
(executable)
--- a/
t/t1430-bad-ref-name.sh
+++ b/
t/t1430-bad-ref-name.sh
@@
-148,7
+148,7
@@
test_expect_success 'rev-parse skips symref pointing to broken name' '
git branch shadow one &&
cp .git/refs/heads/master .git/refs/heads/broken...ref &&
git symbolic-ref refs/tags/shadow refs/heads/broken...ref &&
-
+ test_when_finished "rm -f .git/refs/tags/shadow" &&
git rev-parse --verify one >expect &&
git rev-parse --verify shadow >actual 2>err &&
test_cmp expect actual &&