]> git.phdru.name Git - git-scripts.git/blob - ls-not-pushed
Exclude empty "others" directories
[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    'test -n "`git status --branch --untracked-files=no |
6    'test -n "`git status --branch --short | grep "ahead\|behind"`" &&
7    echo "$d"'