X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-dirty;h=d2eaac48afe24f3c491487724e9425c341160bb7;hb=e364445d1adb40b906101cb3ce1acde85b2ffd36;hp=e5d64da6e7d318fcf2f40f94f9b7a34bd44b7fb4;hpb=128c605a1b8968935a4a266ff91359a4954e54fb;p=git-scripts.git diff --git a/ls-dirty b/ls-dirty index e5d64da..d2eaac4 100755 --- a/ls-dirty +++ b/ls-dirty @@ -1,5 +1,6 @@ #! /bin/sh -exec "`dirname \"$0\"`"/do-all \ - 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ - 'test -n "`git status -s`" && echo "$d"' +if [ -n "`git ls-files --deleted --modified --others --unmerged --killed --exclude-standard --directory --no-empty-directory`" ] +then + pwd +fi