github.com/AndrienkoAleksandr/go@v0.0.19/.gitattributes (about)

     1  # Treat all files in the Go 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, and so they are checked in with CRLF endings, with a test
     9  # in test/winbatch.go to catch problems. (See golang.org/issue/37791.)
    10  #
    11  # We'll prevent accidental CRLF line endings from entering the repo
    12  # via the git-codereview gofmt checks and tests.
    13  #
    14  # See golang.org/issue/9281.
    15  
    16  * -text