From: Oleg Broytman Date: Fri, 7 Nov 2014 17:44:08 +0000 (+0300) Subject: Add script repack-not-packed X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b88d5abbb64cea0ea1d37605335f7803a16a7910;p=git-scripts.git Add script repack-not-packed --- diff --git a/repack-not-packed b/repack-not-packed new file mode 100755 index 0000000..27cc8f2 --- /dev/null +++ b/repack-not-packed @@ -0,0 +1,8 @@ +#! /bin/sh + +prog_dir=`dirname "$0"` +for d in `"$prog_dir"/ls-not-packed` +do + echo "----- $d -----" && cd "$d" && + git repack -a -d --depth=250 --window=250 || exit 1 +done