aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/sys/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/.gitattributes')
-rw-r--r--vendor/golang.org/x/sys/.gitattributes10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/.gitattributes b/vendor/golang.org/x/sys/.gitattributes
new file mode 100644
index 000000000..d2f212e5d
--- /dev/null
+++ b/vendor/golang.org/x/sys/.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