From 34209ee6e8f91bec3634d12106025c9c38253dee Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Sun, 7 Jul 2013 21:51:55 -0700 Subject: [PATCH] gc.sh: limit maximum pack size to 250 MB Most repositories have a size less than 250 MB. Even the Linux repository would only need 3 250 MB packs. --- jobd/gc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobd/gc.sh b/jobd/gc.sh index 64e9903..393b97c 100755 --- a/jobd/gc.sh +++ b/jobd/gc.sh @@ -51,7 +51,7 @@ if [ -d "../${forkdir##*/}" ]; then fi quiet=; [ -n "$show_progress" ] || quiet=-q -git repack -a -d --window-memory=1G -l $quiet +git repack -a -d --window-memory=1G --max-pack-size=250M -l $quiet git prune git update-server-info config_set lastgc "$(date "$datefmt")" -- 2.11.4.GIT