aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2014-12-23 17:35:32 +1100
committerAlex Brainman <alex.brainman@gmail.com>2014-12-23 06:39:27 +0000
commit110e1fb8c1b6ebd4c650f1aac543d579fd513161 (patch)
treeb9e0a2861ca34761f4736764ef94921272d42641
parentd100f69676887383f55a1a7fd7aa2680f0fde998 (diff)
blog: copying .gitattributes to all subrepositories
Fixes #9281 Change-Id: I01413a641af74d94d9bbcd6ef038d62a7cf439cf Reviewed-on: https://go-review.googlesource.com/2072 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