]> git.phdru.name Git - git-scripts.git/blobdiff - ls-status
Feat(ls-assumed): Recognize files with skip-worktree bit
[git-scripts.git] / ls-status
index e5d64da6e7d318fcf2f40f94f9b7a34bd44b7fb4..6892f2bdb05a6690916084ccace547bdf755b1ba 100755 (executable)
--- a/ls-status
+++ b/ls-status
@@ -1,5 +1,9 @@
 #! /bin/sh
 
-exec "`dirname \"$0\"`"/do-all \
+cd "`dirname \"$0\"`" &&
+prog_dir="`pwd`" &&
+export prog_dir
+
+exec "$prog_dir"/do-all \
    'test "$g" = "$d/.git" || continue; cd "$d" &&' \
-   'test -n "`git status -s`" && echo "$d"'
+   'test -n "`"$prog_dir"/git-status.sh --short`" && echo "$d"'