]> git.phdru.name Git - git-scripts.git/blob - gc-not-packed-repos
4d254090ee63606e340a0db5c622026502533b9c
[git-scripts.git] / gc-not-packed-repos
1 #! /bin/sh
2
3 cd "`dirname \"$0\"`" &&
4 prog_dir="`pwd`" &&
5
6 for d in `"$prog_dir"/ls-not-packed`
7 do
8    echo "----- $d -----" && cd "$d" &&
9    test "$g" = "$d/.git" &&
10    "$prog_dir"/gc-not-packed-recursive ||
11    "$prog_dir"/gc-not-packed
12 done