title: .gitignore issues, doesn't ignore file
body: <p>My .gitignore contains the following:</p>
  
  <pre><code>deploy/media/customoptions/options/*/*/70x/*
  deploy/media/customoptions/options/*/*/200x/*
  deploy/media/customoptions/options/*/*/*/*
  </code></pre>
  
  <p>I realize this is a bit more then it really needs, but I've been testing different patterns to try to get it working.  </p>
  
  <p>When I run an add command:</p>
  
  <pre><code>git add deploy/media/customoptions/ --verbose --dry-run
  </code></pre>
  
  <p>One of the files it's matching I would like to be ignored. <strong>Why is this being added?</strong> Based on the path, it should match true above.</p>
  
  <pre><code>deploy/media/customoptions/options/998/4325/200x/200-ntlrope.jpg
  </code></pre>
  
  <p>I have tried deleting the entire .git directory and <code>git init</code>ing it again to start from a blank slate, and still adds that file.</p>