From 73933f2ae538f0f2e1191602b8d0f475136d9b02 Mon Sep 17 00:00:00 2001 From: Clemens Hammacher Date: Mon, 7 May 2018 20:07:16 +0200 Subject: [PATCH] [git] Add gitattributes to convert CRLF to LF automatically This attribute will apply to newly added file only. If they contain CRLF, this will be converted to LF automatically. R=mathias@chromium.org Bug: v8:7570 Change-Id: Idbf1f15d55dda18f623f9b3c7be8bba686569af0 Reviewed-on: https://chromium-review.googlesource.com/1047608 Commit-Queue: Clemens Hammacher Reviewed-by: Mathias Bynens Cr-Commit-Position: refs/heads/master@{#53044} --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..d38eef01ae --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Automatically normalize line endings (to LF) for all text-based files. +* text=auto