From: Han-Wen Nienhuys Date: Mon, 31 May 2021 16:56:34 +0000 (+0000) Subject: t7900: stop checking for loose refs X-Git-Tag: v2.33.0-rc0~67^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e740873c4778434737e36eecf2a9393abe709a88;p=thirdparty%2Fgit.git t7900: stop checking for loose refs Given that git-maintenance simply calls out git-pack-refs, it seems superfluous to test the functionality of pack-refs itself, as that is covered by t3210-pack-refs.sh. Signed-off-by: Han-Wen Nienhuys Reviewed-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- diff --git a/t/t7900-maintenance.sh b/t/t7900-maintenance.sh index 2412d8c5c0..70563cc269 100755 --- a/t/t7900-maintenance.sh +++ b/t/t7900-maintenance.sh @@ -350,8 +350,6 @@ test_expect_success 'pack-refs task' ' done && GIT_TRACE2_EVENT="$(pwd)/pack-refs.txt" \ git maintenance run --task=pack-refs && - ls .git/refs/heads/ >after && - test_must_be_empty after && test_subcommand git pack-refs --all --prune