From 2b29d4c4fc4bf742db9070d86535ffd0f44524b7 Mon Sep 17 00:00:00 2001 From: Jonas Jensen Date: Mon, 20 Aug 2018 14:42:15 +0200 Subject: [PATCH] Set `* text=auto` in .gitattributes This should ensure that all new text files get LF (Unix-style) line endings in the repository and on future check-outs regardless of the platform. See https://help.github.com/articles/dealing-with-line-endings/ and the articles linked from there. --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000000..9bc433dccc9c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# This ensures that all files that git considers to be text will have +# normalized (Unix-style, LF) line endings in the repository. +* text=auto