From: Han-Wen Nienhuys Date: Mon, 2 Aug 2021 16:53:26 +0000 (+0000) Subject: t6050: use git-update-ref rather than filesystem access X-Git-Tag: v2.34.0-rc0~242^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6b0a8fab8e5a29f11faef898905e0b3c700e683;p=thirdparty%2Fgit.git t6050: use git-update-ref rather than filesystem access Signed-off-by: Han-Wen Nienhuys Signed-off-by: Junio C Hamano --- diff --git a/t/t6050-replace.sh b/t/t6050-replace.sh index e33d512ec1..2500acc2ef 100755 --- a/t/t6050-replace.sh +++ b/t/t6050-replace.sh @@ -132,7 +132,7 @@ tagger T A Gger <> 0 +0000 EOF test_expect_success 'tag replaced commit' ' - git mktag .git/refs/tags/mytag + git update-ref refs/tags/mytag $(git mktag