Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-26 00:27:08 +0300
committerJunio C Hamano <gitster@pobox.com>2019-07-26 00:27:08 +0300
commit776d668142070cd1234bcc9df6661d372cae2e16 (patch)
treecbbaee022953c283ac2f20d9b597c702ff071e79 /t
parent518e8748979dbe485f519d0f63c3642cc1643f79 (diff)
parente941c48d49ebe24404515acf258d8003f2374627 (diff)
Merge branch 'ew/server-info-remove-crufts' into maint
"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-xt/t6500-gc.sh2
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
)