X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=gc-not-packed-repos;h=f7b7c78ab08944f88efd924231f75500bf3cf6f5;hp=4d254090ee63606e340a0db5c622026502533b9c;hb=HEAD;hpb=d02827744a7dd6e9d686c55a084e1306dddcccc6 diff --git a/gc-not-packed-repos b/gc-not-packed-repos index 4d25409..a7f470f 100755 --- a/gc-not-packed-repos +++ b/gc-not-packed-repos @@ -3,10 +3,8 @@ cd "`dirname \"$0\"`" && prog_dir="`pwd`" && -for d in `"$prog_dir"/ls-not-packed` +for d in `"$prog_dir"/ls-not-packed-repos` do echo "----- $d -----" && cd "$d" && - test "$g" = "$d/.git" && - "$prog_dir"/gc-not-packed-recursive || - "$prog_dir"/gc-not-packed + "$prog_dir"/gc-not-packed-recursive || exit 1 done