git status shows modifications even with autocrlf=false
This seems like a bug in msysgit indeed. As a workaround, try creating a .gitattributes file containing * -text This will tell git not to perform EOL conversions on any files.
This seems like a bug in msysgit indeed. As a workaround, try creating a .gitattributes file containing * -text This will tell git not to perform EOL conversions on any files.
The error message suggests that the script you’re invoking has embedded \r characters, which in turn suggests that it has Windows-style \r\n line endings instead of the \n-only line endings bash expects. As a quick fix, you can remove the \r chars. as follows: sed $’s/\r$//’ ./install.sh > ./install.Unix.sh Note: The $’…’ string is an … Read more
The best explanation of how core.autocrlf works is found on the gitattributes man page, in the text attribute section. This is how core.autocrlf appears to work currently (or at least since v1.7.2 from what I am aware): core.autocrlf = true Text files checked-out from the repository that have only LF characters are normalized to CRLF … Read more