exec "`dirname \"$0\"`"/do-all \
'test "$g" = "$d/.git" || continue; cd "$d" &&' \
- 'test -n "`git status --branch --untracked-files=no |
- 'test -n "`git status --branch --short | grep "ahead\|behind"`" &&
- echo "$d"'
+ 'git branch --verbose | grep -q "ahead\|behind" && echo "$d"'