summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes56
1 files changed, 56 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..0b834ea
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,56 @@
+# text
+* text=auto
+
+# sources
+*.c text diff eol=lf
+*.h text diff eol=lf
+*.i text diff eol=lf
+*.s text diff eol=lf
+*.S text diff eol=lf
+
+mkfile text diff eol=lf
+makefile text diff eol=lf
+Makefile text diff eol=lf
+
+*.sh text diff eol=lf
+*.py text diff eol=lf
+*.pl text diff eol=lf
+*.rc text diff eol=lf
+*.go text diff eol=lf
+
+# docs
+*.1 text diff eol=lf
+*.2 text diff eol=lf
+*.3 text diff eol=lf
+*.4 text diff eol=lf
+*.5 text diff eol=lf
+*.6 text diff eol=lf
+*.7 text diff eol=lf
+*.8 text diff eol=lf
+
+*.tr text diff eol=lf
+
+# binaries
+*.6o binary
+*.8o binary
+*.a binary
+*.so binary
+*.dll binary
+*.exe binary
+*.lib binary
+*.elf binary
+*.iso binary
+*.img binary
+
+# images
+*.ico
+*.png binary
+*.jpg binary
+*.jpeg binary
+*.gif binary
+*.pdf binary
+
+# extra stuff
+*.ini text diff eol=lf
+.gitkeep text
+