]> git.phdru.name Git - git-scripts.git/blob - status-all
Feat(fix-detached-head): Replace `branch -r` by `for-each-ref`
[git-scripts.git] / status-all
1 #! /bin/sh
2
3 cd "`dirname \"$0\"`" &&
4 prog_dir="`pwd`" &&
5 export prog_dir
6
7 exec "$prog_dir"/do-all \
8    'test "$g" = "$d/.git" || continue; cd "$d" &&' \
9    'echo "----- $d -----" && "$prog_dir"/git-status.sh --short --branch || exit 1'