X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-status.sh;h=10d781c92f82197845ce30c67f796d99379e93cd;hb=a3f583cbf7929f290a47dc0a952ee6b0faa9d279;hp=50ccd24efb707d615e560dfbd38abec5b2b25b20;hpb=1ed91937e5cd59fdbdfa5f15f6fac132d2b21ce0;p=git.git diff --git a/git-status.sh b/git-status.sh index 50ccd24e..10d781c9 100755 --- a/git-status.sh +++ b/git-status.sh @@ -83,11 +83,11 @@ report "Changed but not updated" "use git-update-index to mark for commit" if test -f "$GIT_DIR/info/exclude" then - git-ls-files -z --others \ + git-ls-files -z --others --directory \ --exclude-from="$GIT_DIR/info/exclude" \ --exclude-per-directory=.gitignore else - git-ls-files -z --others \ + git-ls-files -z --others --directory \ --exclude-per-directory=.gitignore fi | perl -e '$/ = "\0";