summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Chambers <joncham@gmail.com>2019-12-03 09:27:32 -0500
committerIvan Maidanski <ivmai@mail.ru>2020-04-18 11:33:26 +0300
commit9a461c8e3ff89a82af906a9bd3cbd2e5462387df (patch)
tree16df5a652c8cedd1fdee944de4b2809536107793
parent1a52ff582def676b41d5160391ad474b7faa65d0 (diff)
downloadbdwgc-9a461c8e3ff89a82af906a9bd3cbd2e5462387df.tar.gz
Ensure .ac, .am, .m4, .sh files use LF line endings
(a cherry-pick of part of commit 14de13209 from Unity-Technologies/bdwgc)
-rw-r--r--.gitattributes8
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 1c7163d1..1c7bc7f5 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,6 +1,12 @@
# Git repo attributes.
-# Ensure all text files have normalized (LF) line endings in the repository.
+# Ensure shell and configure-related files have LF enforced.
+*.ac text eol=lf
+*.am text eol=lf
+*.m4 text eol=lf
+*.sh text eol=lf
+
+# Ensure all text files have normalized line endings in the repository.
* text=auto
# These files should use CR/LF line ending: