Re: [git-users] Re: Git says there are local changes, but there are no changes. (Windows)

2016-03-13 Thread Philip Oakley
rch 13, 2016 1:41 AM Subject: [git-users] Re: Git says there are local changes, but there are no changes. (Windows) It appears none of the commenters understands how git reset works. Even if the problem is that Visual Studio messed up the git index, git reset should fix it. And if Visual Studi

[git-users] Re: Git says there are local changes, but there are no changes. (Windows)

2016-03-12 Thread Ben Page
It appears none of the commenters understands how git reset works. Even if the problem is that Visual Studio messed up the git index, git reset should fix it. And if Visual Studio messed up the file (line endings or otherwise), the git reset --hard should revert it. This is certainly a bug in g

[git-users] Re: Git says there are local changes, but there are no changes. (Windows)

2016-03-04 Thread Ben Page
The repos that exhibit this behavior are Visual Studio projects and the problem files are text files. I don't think the problem is line endings git diff returns nothing and the projects have * text=auto in the .gitattributes file and core.autocrlf set to true. I believe the problem is caused b