"git status" should warn/error when it cannot lists a directory

2015-02-02 Thread Andrew Wong
When "git status" recurses a directory that isn't readable (but executable), it should print out a warning/error. Currently, if there are untracked files in these directories, git wouldn't be able to discover them. Ideally, "git status" should return a non-zero exit code as well. The problem seems

Re: "git status" should warn/error when it cannot lists a directory

2015-02-02 Thread Jeff King
On Mon, Feb 02, 2015 at 11:58:33AM -0500, Andrew Wong wrote: > When "git status" recurses a directory that isn't readable (but > executable), it should print out a warning/error. Currently, if there > are untracked files in these directories, git wouldn't be able to > discover them. Ideally, "git