diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2021-08-02 16:53:34 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-02 13:17:21 -0700 |
commit | 2cf9f0fca1ad0fedb88f63f59b311b4d80b28f0e (patch) | |
tree | 396072dcb57aac341560e095f8ea1f0f3a3321dd /ws.c | |
parent | t1410: mark test as REFFILES (diff) | |
download | tgif-2cf9f0fca1ad0fedb88f63f59b311b4d80b28f0e.tar.xz |
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 'ws.c')
0 files changed, 0 insertions, 0 deletions