title: Why does git ls-files --ignore require exclude patterns?
body: <p>What is the logic behind the requirement to use an exclude pattern with the command <code>git ls-files --ignored</code>?</p>
  <p>From <code>git help ls-files</code>:</p>
  <blockquote>
  <p><code>-i, --ignored</code></p>
  <p>Show only ignored files in the output. When showing files in the index, print only those matched by an exclude pattern. When showing &quot;other&quot; files, show only those matched by an exclude pattern.</p>
  </blockquote>