]> git.phdru.name Git - git-scripts.git/blob - repack-not-packed
Carefully list dirty repos and show their status
[git-scripts.git] / repack-not-packed
1 #! /bin/sh
2
3 prog_dir=`dirname "$0"`
4 for d in `"$prog_dir"/ls-not-packed`
5 do
6    echo "----- $d -----" && cd "$d" &&
7    git repack -a -d -f --depth=20 --window=250 &&
8    git fsck --strict || exit 1
9 done