From 7da7f874d88412c5a57547ae4d8c6bce5e7bf15d Mon Sep 17 00:00:00 2001 From: Javi Date: Wed, 18 Apr 2018 20:13:00 +0200 Subject: [PATCH] Treat all files in the repo as binary, with no git magic updating line endings. Based on work in golang.org/issue/9281 --- .gitattributes | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.gitattributes b/.gitattributes index 75d882e8ae..93ca9f568f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,15 +1,16 @@ -# Copyright 2018 Google Inc. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -* text=auto +# Copyright 2018 Google Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# See https://github.com/golang/go/issues/9281 +* -text