text: add .gitattributes (fixes windows build)

Fixes #9281

Change-Id: If3aad25a9bc24f04d604a534bef4f2e08ce00ffc
Reviewed-on: https://go-review.googlesource.com/2070
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Alex Brainman 2014-12-23 16:55:37 +11:00
Родитель ef0bf1da95
Коммит c980adc4a8
1 изменённых файлов: 10 добавлений и 0 удалений

10
.gitattributes поставляемый Normal file
Просмотреть файл

@ -0,0 +1,10 @@
# Treat all files in this repo as binary, with no git magic updating
# line endings. Windows users contributing to Go will need to use a
# modern version of git and editors capable of LF line endings.
#
# We'll prevent accidental CRLF line endings from entering the repo
# via the git-review gofmt checks.
#
# See golang.org/issue/9281
* -text