summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2021-08-30 19:04:13 +0700
committerPierre Joye <pierre.php@gmail.com>2021-08-30 19:04:13 +0700
commit5cf43bf0b5c72f96a0ae7face50768a8572ccf64 (patch)
tree0f9b69167d5ead680f967d26e1f3954034e390be /.gitattributes
parent1b3f6fbe945de04c3b7bdc4fe65a9bfc8a55040e (diff)
downloadlibgd-5cf43bf0b5c72f96a0ae7face50768a8572ccf64.tar.gz
add .gitattributes to ensure lf
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..7eb72c5
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,18 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.c text
+*.h text
+
+# Declare files that will always have CRLF line endings on checkout.
+*.sln text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary
+
+*.m4 text eol=lf
+*.ac text eol=lf
+*.am text eol=lf