Can anyone explain why core.autoccrlf=true makes Git replace LF with CRLF on Linux? Full reproduction:
$ cat /etc/redhat-release; git --version Fedora release 17 (Beefy Miracle) git version 1.7.11.2 $ git config -l core.autocrlf=true $ rm -rf test; mkdir test; cd test; git init; echo bar >foo.txt; git add foo.txt Initialized empty Git repository in /tmp/test/.git/ warning: LF will be replaced by CRLF in foo.txt. The file will have its original line endings in your working directory. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/v4TIWrKz1cwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
