diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2021-02-02 20:24:17 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-02 12:21:38 -0800 |
commit | ad6b5fefbd15f08a32145e77d0c08394c7f17b9c (patch) | |
tree | 98f4420267dfa910b84cbef3b0166e6ac5173a6a /compat | |
parent | upload-pack.c: fix filter spec quoting bug (diff) | |
download | tgif-ad6b5fefbd15f08a32145e77d0c08394c7f17b9c.tar.xz |
t5544: clarify 'hook works with partial clone' test
Apply a few leftover improvements from the review of ad5df6b782
(upload-pack.c: fix filter spec quoting bug).
1. Instead of enumerating objects reachable from HEAD, enumerate all
reachable objects, because HEAD has not special significance in this
test.
2. Instead of relying on the knowledge that "? in rev-list output
means partial clone", explicitly verify that there are no blobs with
cat-file.
Signed-off-by: Jacob Vosmaer <jacob@gitlab.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions