I'm having problems with git ls-files --others --ignored --exclude-standard not listing some ignored files.
My project has this directory structure
.
├── aspnet
│ ├── .gitignore
│ ├── __init__.py
│ ├── lib
│ │ ├── <lots of big stuff>
The aspnet/.gitignore lists lib/*, and git add aspnet/lib/foo reports that this path is ignored.
But git ls-files --others --ignored --exclude-standard does not list the files under lib. These are untracked files, they show up in output if I do git ls-files --others, but not if I provide the ignored flag.
Using git version 1.7.9.5
Edit: works as expected with git version 1.8.5.2 (Apple Git-48), this seems to be a git bug