summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes14
1 files changed, 13 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 3149f93d..10605e3d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,13 @@
-* text=auto
+# 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
+
+# Files:
+* text=auto
+Make* tabs
+*.mk tabs
+*.[ch] tabs
+*.java tabs
+*.xml tabs
+memento.* spaces
+*.vcxproj* spaces