summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index d959918..dfc3250 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,6 +1,10 @@
.gitattributes export-ignore
.hooks* export-ignore
+# Custom attribute to mark sources as generated.
+# Do not perform whitespace checks.
+[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab
+
bootstrap crlf=input
configure crlf=input
*.[1-9] crlf=input