]> git.phdru.name Git - git-scripts.git/blob - do-all
Carefully list dirty repos and show their status
[git-scripts.git] / do-all
1 #! /bin/sh
2
3 prog_dir="`dirname \"$0\"`" &&
4
5 cat "$prog_dir"/locate-all.list |
6 while true; do
7    read d || exit 0
8    if ! test -d "$d"; then continue; fi
9    test -d "$d"/.git && g="$d"/.git || g="$d"
10    b="`basename \"$d\" .git`"
11    eval "$@"
12 done