X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=gc-not-packed;h=2f6073c7477a7f9acf62bf5ef8ea70102153c2ec;hp=c9f7be2537b008c7d6164abfde0a0535e5327866;hb=HEAD;hpb=9d1f4913c3228f846cfe1eb81e42dc1a2902b29c diff --git a/gc-not-packed b/gc-not-packed index c9f7be2..2f6073c 100755 --- a/gc-not-packed +++ b/gc-not-packed @@ -1,8 +1,4 @@ #! /bin/sh -prog_dir=`dirname "$0"` -for d in `"$prog_dir"/ls-not-packed` -do - echo "----- $d -----" && cd "$d" && - git gc --aggressive && git fsck --strict || exit 1 -done +git gc --aggressive && +exec git fsck --strict