summaryrefslogtreecommitdiff
path: root/t/t6500-gc.sh
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@google.com>2021-08-02 16:53:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-08-02 20:17:21 (GMT)
commit2cf9f0fca1ad0fedb88f63f59b311b4d80b28f0e (patch)
tree396072dcb57aac341560e095f8ea1f0f3a3321dd /t/t6500-gc.sh
parentfe1443152689fcecbbaf0213a7bebcc23ee24a37 (diff)
downloadgit-2cf9f0fca1ad0fedb88f63f59b311b4d80b28f0e.zip
git-2cf9f0fca1ad0fedb88f63f59b311b4d80b28f0e.tar.gz
git-2cf9f0fca1ad0fedb88f63f59b311b4d80b28f0e.tar.bz2
t7064: use update-ref -d to remove upstream branch
The previous code tested this by writing $ZERO_OID explicitly in the packed-refs file. This is a type of corruption that doesn't reflect realistic use-cases. In addition, even the ref-store test-tool refuses to write invalid OIDs. (update-ref interprets $ZERO_OID is deleting the ref). Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6500-gc.sh')
0 files changed, 0 insertions, 0 deletions