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