diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2021-08-02 16:53:26 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-02 13:17:20 -0700 |
commit | e6b0a8fab8e5a29f11faef898905e0b3c700e683 (patch) | |
tree | 60e42d0d7776439ea068548e9186ff9c5a00ae0b /t/t6050-replace.sh | |
parent | The fifth batch (diff) | |
download | tgif-e6b0a8fab8e5a29f11faef898905e0b3c700e683.tar.xz |
t6050: use git-update-ref rather than filesystem access
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6050-replace.sh')
-rwxr-xr-x | t/t6050-replace.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 <tag.sig >.git/refs/tags/mytag + git update-ref refs/tags/mytag $(git mktag <tag.sig) ' test_expect_success '"git fsck" works' ' |