Skip to content

Commit e6b0a8f

Browse files
hanwengitster
authored andcommitted
t6050: use git-update-ref rather than filesystem access
Signed-off-by: Han-Wen Nienhuys <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent daab8a5 commit e6b0a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t6050-replace.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ tagger T A Gger <> 0 +0000
132132
EOF
133133

134134
test_expect_success 'tag replaced commit' '
135-
git mktag <tag.sig >.git/refs/tags/mytag
135+
git update-ref refs/tags/mytag $(git mktag <tag.sig)
136136
'
137137

138138
test_expect_success '"git fsck" works' '

0 commit comments

Comments
 (0)