summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-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: