title: git status reports modified files in a freshly cloned repo
body: <h3>Solved</h3>
  <p>It seems the remote repo contains two files named the same, except for the first letter. This caused a file overwrite on my system, which led to the issue below.</p>
  <h3>Update</h3>
  <p>It seems it has nothing to do with newlines, but I can't yet find an explanation. Here's what happens.</p>
  <p><code>git status</code> reports <code>FileStartingWithCapitalLetter.php</code> has been modified</p>
  <p>On the other hand, browsing my case-insensitive file system, shows fileStartingWithCapitalLetter.php, which is actually starting with a lower-case &quot;f&quot;.</p>
  <p><code>git diff FileStartingWithCapitalLetter.php</code></p>
  <p>shows this (the diff is hard to spot, it's the R in Redirect, which led me to think it has to do with CRLF):</p>
  <pre><code>diff --git a/test/functional/frontend/RedirectActionsTest.php b/test/functional/frontend/RedirectActionsTest.php
  index 66e1fef..c574583 100644
  --- a/test/functional/frontend/RedirectActionsTest.php
  +++ b/test/functional/frontend/RedirectActionsTest.php
  @@ -5,10 +5,10 @@ include(dirname(__FILE__).'/../../bootstrap/functional.php');
   $browser = new sfTestFunctional(new sfBrowser());
   
   $browser-&gt;
  -  get('/Redirect/index')-&gt;
  +  get('/redirect/index')-&gt;
   
     with('request')-&gt;begin()-&gt;
  -    isParameter('module', 'Redirect')-&gt;
  +    isParameter('module', 'redirect')-&gt;
       isParameter('action', 'index')-&gt;
     end()-&gt;
  </code></pre>
  <p>On the other hand, <code>git diff</code> fileStartingWithCapitalLetter.php (lower-case f), shows no changes.</p>
  <p>What's the fix to this?</p>
  <h3>Old issue</h3>
  <p>I've cloned a git repo and then, immediately, executed <code>git status</code>. It was not a surprise to see that it reports modified files, as it happened to me before. There are CRLF line endings committed from a Windows machine (I'm on OS X).</p>
  <p>Now, what really surprised me is that this didn't work:</p>
  <pre><code>$ git config core.autocrlf false
  $ rm .git/index
  $ git reset
  Unstaged changes after reset:
  M  test/functional/frontend/RedirectActionsTest.php
  </code></pre>
  <p>Does anyone have any ideas about what's wrong and how to solve it? I'm using Git 1.7.0.2.</p>