Skip to content

Commit 5718c53

Browse files
jonathantanmygitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8a30a1e commit 5718c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5616-partial-clone.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ test_expect_success 'tolerate server sending REF_DELTA against missing promisor
359359
--filter=blob:none $HTTPD_URL/one_time_sed/server repo &&
360360
361361
# Sanity check to ensure that the client does not have that blob.
362-
git -C repo rev-list --objects --exclude-promisor-objects \
362+
git -C repo rev-list --objects --ignore-missing \
363363
-- $(cat deltabase) >objlist &&
364364
test_line_count = 0 objlist &&
365365

0 commit comments

Comments
 (0)