From 521aae8a021d43f225b9e1c35cad1d60d512f1d4 Mon Sep 17 00:00:00 2001 From: Kathryn Baldauf Date: Mon, 9 May 2022 17:07:06 -0700 Subject: [PATCH] Unset text attribute for vendored files in gitattributes Signed-off-by: Kathryn Baldauf --- .gitattributes | 4 +++- test/vendor/github.com/Microsoft/hcsshim/.gitattributes | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 94f480de94..dd0d09faac 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,3 @@ -* text=auto eol=lf \ No newline at end of file +* text=auto eol=lf +vendor/** -text +test/vendor/** -text \ No newline at end of file diff --git a/test/vendor/github.com/Microsoft/hcsshim/.gitattributes b/test/vendor/github.com/Microsoft/hcsshim/.gitattributes index 94f480de94..dd0d09faac 100644 --- a/test/vendor/github.com/Microsoft/hcsshim/.gitattributes +++ b/test/vendor/github.com/Microsoft/hcsshim/.gitattributes @@ -1 +1,3 @@ -* text=auto eol=lf \ No newline at end of file +* text=auto eol=lf +vendor/** -text +test/vendor/** -text \ No newline at end of file