From: Oleg Broytman Date: Thu, 27 Nov 2014 08:07:14 +0000 (+0300) Subject: Restore repack-not-packed X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=9af8979b66ee8ba1fb15df2cb4e724325c99a2b0;p=git-scripts.git Restore repack-not-packed --- diff --git a/repack-not-packed b/repack-not-packed new file mode 100755 index 0000000..88b88bc --- /dev/null +++ b/repack-not-packed @@ -0,0 +1,9 @@ +#! /bin/sh + +prog_dir=`dirname "$0"` +for d in `"$prog_dir"/ls-not-packed` +do + echo "----- $d -----" && cd "$d" && + git repack -a -d -f --depth=250 --window=250 && + git fsck --strict || exit 1 +done