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