I have a MacBook and am running Windows in a Parallels VM. My development is primarily in Visual Studio, but I like to use Git with the Mac shell (just like it better than what is available for Windows).
When I do a git diff to determine what has changed between commits I am getting the proverbial line ending "changes" that make git think much more has changed than actually has.
I know this is an age old problem, and I have done a lot of research with varying suggestions from a lot of people, but I am not able to solve this issue. The most promising information was found in this SO Post but it didn't solve my issue.
Here are some relevant lines from my .gitconfig...
[core]
autocrlf = false
safecrlf = false
Also, I have a .gitattributes in the root of my repo that only contains...
* text eol=crlf
What can I do to make Git stop thinking line ending changes are real changes when performing a diff? Again, I am using a Mac shell to look at Windows files, so this might be part of my issue.
Thanks!