#! /bin/sh prog_dir=`dirname "$0"` "$prog_dir"/do-all \ 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ 'echo "----- $d -----" && git status --short --branch || exit 1'