From 894b9170168dbe7d35e96bb019102ed13b3d90a7 Mon Sep 17 00:00:00 2001 From: Liam Bennett Date: Fri, 3 Feb 2017 15:14:31 +0000 Subject: [PATCH] Adding in root level .gitattributes file. This is to pin the .go files to LF line endings. Developing on windows and using the vagrant environment to build, running `make fmt` will cause all the *.go files to be touched, alterting their line endings and causing git to see them as changed. --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..6eb3a078e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +*.go eol=lf