X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=ls-assumed;h=7516733a854299e26e343094e36b3a0fe0c78821;hp=2ca55c93ff8b41510178d5a411e97d77ae35aaef;hb=HEAD;hpb=57eafcd35f740fb53a17787cb99bdab715088d72 diff --git a/ls-assumed b/ls-assumed index 2ca55c9..7516733 100755 --- a/ls-assumed +++ b/ls-assumed @@ -1,5 +1,5 @@ #! /bin/sh -exec "`dirname \"$0\"`"/do-all \ - 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ - 'test -n "`git ls-files -v | grep ^h`" && echo "$d"' +if [ -n "`git ls-files -v | grep ^[a-z]`" ]; then + pwd +fi