From: Oleg Broytman Date: Fri, 21 Nov 2014 11:44:08 +0000 (+0300) Subject: Add option -f to git repack X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=db7daf902176771843f0a09c182f4587e20625a6;p=git-scripts.git Add option -f to git repack --- diff --git a/repack-not-packed b/repack-not-packed index 28683a1..ff16338 100755 --- a/repack-not-packed +++ b/repack-not-packed @@ -5,6 +5,6 @@ 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 repack -a -d -f --depth=250 --window=250 && git fsck --strict || exit 1 done