From 2b092d319925e0918f439caaa91c1652bad47d65 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 7 Nov 2014 21:08:52 +0300 Subject: [PATCH] Do git fsck after repack --- repack-not-packed | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repack-not-packed b/repack-not-packed index 27cc8f2..2af5ccb 100755 --- a/repack-not-packed +++ b/repack-not-packed @@ -4,5 +4,6 @@ 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 + git repack -a -d --depth=250 --window=250 && + git fsck --strict || exit 1 done -- 2.39.5