I have been experimenting with git-svn and git integration within Visual Studio 2013 for a short period of time. One issue I'm having is that Visual studio is showing many files as part of the "Included changes" (i.e "modified" files) when in fact they have no changes.
At first glance, research suggest that similar problems appear when line-ending issues exist but:
A) Git in the console runs fine (i.e. git status shows no changes exist).
B) Git line ending normalization has been turned off (both by "git config --global core.autocrlf false" and a "* text=off line" in the .gitattributes file)
Any ideas?
First:
make sure eol is not involved in your current local repo by triggering a renormalization:
$ rm .git/index # Remove the index to re-scan the working directory
$ git add .
$ git status # Check if files are still "modified"
Second, check the nature of those "invisible" changes with:
git diff --word-diff-regex=.
# or
git -c color.diff.whitespace="red reverse" diff -R -- afile
Third, check if this is a permission issue (you can unset other core.filemode settings first):
git config core.filemode false
# renormalize as shown above.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With