X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=ls-dirty;h=d2eaac48afe24f3c491487724e9425c341160bb7;hp=d440c406c2a281a3b55190aa12fcb0cf039c85c7;hb=b90789d369c5500fa85a0954869626e8aa3566ce;hpb=c933381bc6c49d02e45094006e625776ecc5cb4d diff --git a/ls-dirty b/ls-dirty index d440c40..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 ls-files --deleted --modified --others --unmerged --killed --exclude-standard`" && echo "$d"' +if [ -n "`git ls-files --deleted --modified --others --unmerged --killed --exclude-standard --directory --no-empty-directory`" ] +then + pwd +fi