title: Git rename directory to another case same name shows containing files as modified always
body: <p>After the directory TestDirectory was renamed to lower case (testdirectory) all it's files (a.html and b.html) are shown as modified and even git reset --hard doesn't reset the working tree.</p>
  
  <p>Git always says:</p>
  
  <pre><code>#   modified:   TestDirectory/a.html
  #   modified:   TestDirectory/b.html
  </code></pre>
  
  <p>Nothing works to reset the working tree to unmodified state, none of following commands help:</p>
  
  <pre><code>git reset --hard
  
  git checkout -- TestDirectory/a.html
  </code></pre>
  
  <p>I don't understand why this happens and what I can do. Is it git bug?</p>
  
  <p>The rename wasn't added by me but another git user. </p>
  
  <p>git version 1.6.4</p>
  
  <p>I am running Mac OS X 10.6</p>