title: 'git status' shows changed files, but 'git diff' doesn't
body: <p>I've had a look at all similar questions. However, I've double checked and something strange is definitely happening.</p>
  
  <p>On one server (Solaris with Git 1.8.1) I cloned the Git repository then copied the .git folder into my existing live files. This worked perfectly, I could run</p>
  
  <pre><code>git status
  </code></pre>
  
  <p>then</p>
  
  <pre><code>git diff [filename]
  </code></pre>
  
  <p>to check any files that were different.</p>
  
  <p>On another server (Solaris with Git 1.7.6) I'm doing exactly the same however</p>
  
  <pre><code>git diff [filename]
  </code></pre>
  
  <p>shows nothing, even if the contents of the file is definitely different. I have also tested adding a new file, committing it, and then editing. The same issue, <code>git status</code> shows the file as changed, but <code>git diff</code> shows nothing. If I download the changed file and run a diff locally then I get diff output.</p>