babusri <[email protected]> writes:
> I sometimes use git commands directly from emacs using 'compile' and I
> also use git-gui in addition to magit. I did a commit with git-gui and
> with this only one file is shown as modified in git-gui. This is
> correct. But magit shows that all the files are modified. That is, all
> the tracked files are shown under "Changes:" as 'Modified'. This
> doesn't change when 'g' (magit-refresh) is pressed. After pressing 'g'
> a few times, sometimes magit shows the correct output. But if I press
> F5 in git-gui and then press 'g' in magit, magic shows all the files
> as being modified.
Hmm, I can't reproduce this here on GNU/Linux, unfortunately.
Please get git-gui and magit out of sync, and then run
git diff-files
git diff-index
git diff-index --cached
and show the output.