Skip to content

Commit 9afb771

Browse files
committed
tools: copying .gitattributes to all subrepositories (fixes windows build)
Fixes #9281 Change-Id: I42ef7105b2a5a99452d804db31eea57a8d6d9d01 Reviewed-on: https://go-review.googlesource.com/2071 Reviewed-by: Minux Ma <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 6538dd1 commit 9afb771

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.gitattributes

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

0 commit comments

Comments
 (0)