summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes21
1 files changed, 18 insertions, 3 deletions
diff --git a/.gitattributes b/.gitattributes
index 441ee7d3a..0b0b4275d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,4 +1,19 @@
-* text=auto
-*.inf eol=crlf
-*.cat binary
+# Macros:
+[attr]tabs whitespace=trailing-space,space-before-tab,indent-with-non-tab,tabwidth=4
+[attr]spaces whitespace=trailing-space,space-before-tab,tabs-in-indent
+[attr]makefile whitespace=trailing-space,space-before-tab,indent-with-non-tab,tabwidth=8
+* text=auto
+Make* makefile
+*.mak makefile
+*.inf eol=crlf
+*.cat binary
+
+# Documentation files:
+*.txt spaces
+*.htm spaces
+*.css spaces
+
+# Source files
+*.c spaces
+*.h spaces