.gitattributes (545B)
1 # Treat all files in the repo as binary, with no git magic updating 2 # line endings. This produces predictable results in different environments. 3 # 4 # Windows users contributing to Go will need to use a modern version 5 # of git and editors capable of LF line endings. 6 # 7 # Windows .bat files are known to have multiple bugs when run with LF 8 # endings. So if they are checked in with CRLF endings, there should 9 # be a test like the one in test/winbatch.go in the go repository. 10 # (See golang.org/issue/37791.) 11 # 12 # See golang.org/issue/9281. 13 14 * -text