]> git.phdru.name Git - git-scripts.git/blob - ls-not-pushed
Test status only in repos with worktrees
[git-scripts.git] / ls-not-pushed
1 #! /bin/sh
2
3 exec "`dirname \"$0\"`"/do-all \
4    'test "$g" = "$d/.git" || continue; cd "$d" &&' \
5    'git status --branch --short | grep -q "ahead\|behind" && echo "$d"'