]> git.phdru.name Git - git-scripts.git/blobdiff - ls-dirty
Feat(submodules/remove): Add option `-c`
[git-scripts.git] / ls-dirty
index d440c406c2a281a3b55190aa12fcb0cf039c85c7..d2eaac48afe24f3c491487724e9425c341160bb7 100755 (executable)
--- 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