diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-06-17 10:15:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-17 10:15:15 -0700 |
commit | 63b6b4b7e107d5b40620d0b3dc3efff0284dfb7b (patch) | |
tree | 57735557a3950c3dcba0f3d8c8aedb705c2ff63e /t | |
parent | Merge branch 'es/grep-require-name-when-needed' (diff) | |
parent | server-info: do not list unlinked packs (diff) | |
download | tgif-63b6b4b7e107d5b40620d0b3dc3efff0284dfb7b.tar.xz |
Merge branch 'ew/server-info-remove-crufts'
"git update-server-info" used to leave stale packfiles in its
output, which has been corrected.
* ew/server-info-remove-crufts:
server-info: do not list unlinked packs
Diffstat (limited to 't')
-rwxr-xr-x | t/t6500-gc.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t6500-gc.sh b/t/t6500-gc.sh index 515c6735e9..c0f04dc6b0 100755 --- a/t/t6500-gc.sh +++ b/t/t6500-gc.sh @@ -71,6 +71,8 @@ test_expect_success 'gc --keep-largest-pack' ' git gc --keep-largest-pack && ( cd .git/objects/pack && ls *.pack ) >pack-list && test_line_count = 2 pack-list && + awk "/^P /{print \$2}" <.git/objects/info/packs >pack-info && + test_line_count = 2 pack-info && test_path_is_file $BASE_PACK && git fsck ) |