summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@google.com>2021-05-31 16:56:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-06-02 01:01:55 (GMT)
commite740873c4778434737e36eecf2a9393abe709a88 (patch)
tree44710aa3f7a2be4e87ff35f8e29c82e4714b92d1
parentfe8fc09f34c353b744d793d45c2ee62fb1a5f699 (diff)
downloadgit-e740873c4778434737e36eecf2a9393abe709a88.zip
git-e740873c4778434737e36eecf2a9393abe709a88.tar.gz
git-e740873c4778434737e36eecf2a9393abe709a88.tar.bz2
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 <hanwen@google.com> Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t7900-maintenance.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/t/t7900-maintenance.sh b/t/t7900-maintenance.sh
index 2412d8c..70563cc 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 <pack-refs.txt
'