mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
t5616: use correct flag to check object is missing
If we want to check whether an object is missing, the correct flag to pass to rev-list is --ignore-missing; --exclude-promisor-objects will exclude any object that came from the promisor remote, whether it is present or missing. Use the correct flag. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
8a30a1efd1
commit
5718c53d0a
|
@ -359,7 +359,7 @@ test_expect_success 'tolerate server sending REF_DELTA against missing promisor
|
|||
--filter=blob:none $HTTPD_URL/one_time_sed/server repo &&
|
||||
|
||||
# Sanity check to ensure that the client does not have that blob.
|
||||
git -C repo rev-list --objects --exclude-promisor-objects \
|
||||
git -C repo rev-list --objects --ignore-missing \
|
||||
-- $(cat deltabase) >objlist &&
|
||||
test_line_count = 0 objlist &&
|
||||
|
||||
|
|
Loading…
Reference in a new issue