$ git version git version 2.20.1.windows.1 $ go version go version go1.12.2 windows/amd64 $ git config -l | grep autocrlf core.autocrlf=true core.autocrlf=true
Same issue remains intermittent. It is reproducible using git checkout -- <your-file> Discarding changes sets default back to CRLF. I could not locate the root cause. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.