From 51d76a24a0136fe85b90361f2f8b68bc17860075 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 21 Nov 2014 14:43:02 +0300 Subject: [PATCH] Run git gc --aggressive before repack --- repack-not-packed | 1 + 1 file changed, 1 insertion(+) diff --git a/repack-not-packed b/repack-not-packed index 2af5ccb..28683a1 100755 --- a/repack-not-packed +++ b/repack-not-packed @@ -4,6 +4,7 @@ prog_dir=`dirname "$0"` for d in `"$prog_dir"/ls-not-packed` do echo "----- $d -----" && cd "$d" && + git gc --aggressive && git repack -a -d --depth=250 --window=250 && git fsck --strict || exit 1 done -- 2.39.5