From: Jonathan Tan Date: Tue, 11 Jun 2019 21:06:46 +0000 (-0700) Subject: t5616: use correct flag to check object is missing X-Git-Tag: v2.23.0-rc0~104^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5718c53d0ab47cc750e05d2af4a401197117c2f0?ds=sidebyside;hp=--cc 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 Signed-off-by: Junio C Hamano --- 5718c53d0ab47cc750e05d2af4a401197117c2f0 diff --git a/t/t5616-partial-clone.sh b/t/t5616-partial-clone.sh index f1baf83502..8b9b471a62 100755 --- a/t/t5616-partial-clone.sh +++ b/t/t5616-partial-clone.sh @@ -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 &&