aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2014-12-23 18:07:30 +1100
committerAlex Brainman <alex.brainman@gmail.com>2014-12-23 11:20:30 +0000
commitce23a4d596e8659c3c76931fd00b2d7a092f3fc5 (patch)
tree9e9bd8d5a1b7ee249973cb85b4ccc2f5d2fde7e1
parent6acef9210d0973e060d336d9b05abdd4b117b226 (diff)
downloadgo-x-review-ce23a4d596e8659c3c76931fd00b2d7a092f3fc5.tar.xz
review: copying .gitattributes to all subrepositories
Fixes #9281 Change-Id: Iae395834b5eb0d5709a22ac78949d274fed77c93 Reviewed-on: https://go-review.googlesource.com/2078 Reviewed-by: Minux Ma <minux@golang.org>
-rw-r--r--.gitattributes10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..d2f212e
--- /dev/null
+++ b/.gitattributes
@@ -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