]> git.phdru.name Git - git-scripts.git/blob - ls-dirty
Feat: Split scripts into 3: run in one repo, recursive, in all
[git-scripts.git] / ls-dirty
1 #! /bin/sh
2
3 d="`git rev-parse --show-toplevel`" &&
4
5 if [ -n "$d" ]; then
6    if [ -n "`git ls-files --deleted --modified --others --unmerged --killed --exclude-standard --directory --no-empty-directory`" ]
7    then
8       echo "$d"
9    fi
10 fi