]> git.phdru.name Git - git-scripts.git/blob - ls-dirty
77cad68b9f80f0917d24b02bfed54dd3d0952285
[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