summaryrefslogtreecommitdiff
path: root/Source/.gitattributes
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-22 14:33:30 -0500
committerBrad King <brad.king@kitware.com>2017-02-22 16:53:26 -0500
commit2256c3a7db89c58ecdd0e6cfcdff7805522187f1 (patch)
tree1d2de505e243cf5dc1387dc28851b9c191897efa /Source/.gitattributes
parentf45e3b950991f5c4f66cd132bda61a369a3016d7 (diff)
downloadcmake-2256c3a7db89c58ecdd0e6cfcdff7805522187f1.tar.gz
Define a custom Git attribute to mark source files as generated
Diffstat (limited to 'Source/.gitattributes')
-rw-r--r--Source/.gitattributes27
1 files changed, 17 insertions, 10 deletions
diff --git a/Source/.gitattributes b/Source/.gitattributes
index dbd6382caf..47eedfb4bd 100644
--- a/Source/.gitattributes
+++ b/Source/.gitattributes
@@ -1,10 +1,17 @@
-# Preserve indentation style in generated code.
-cmCommandArgumentLexer.cxx whitespace=-tab-in-indent,-indent-with-non-tab
-cmCommandArgumentLexer.h whitespace=-tab-in-indent,-indent-with-non-tab
-cmDependsJavaLexer.cxx whitespace=-tab-in-indent,-indent-with-non-tab
-cmDependsJavaLexer.h whitespace=-tab-in-indent,-indent-with-non-tab
-cmExprLexer.cxx whitespace=-tab-in-indent,-indent-with-non-tab
-cmExprLexer.h whitespace=-tab-in-indent,-indent-with-non-tab
-cmFortranLexer.cxx whitespace=-tab-in-indent,-indent-with-non-tab
-cmFortranLexer.h whitespace=-tab-in-indent,-indent-with-non-tab
-cmListFileLexer.c whitespace=-tab-in-indent,-indent-with-non-tab
+/cmCommandArgumentLexer.cxx generated
+/cmCommandArgumentLexer.h generated
+/cmCommandArgumentParser.cxx generated
+/cmCommandArgumentParserTokens.h generated
+/cmDependsJavaLexer.cxx generated
+/cmDependsJavaLexer.h generated
+/cmDependsJavaParser.cxx generated
+/cmDependsJavaParserTokens.h generated
+/cmExprLexer.cxx generated
+/cmExprLexer.h generated
+/cmExprParser.cxx generated
+/cmExprParserTokens.h generated
+/cmFortranLexer.cxx generated
+/cmFortranLexer.h generated
+/cmFortranParser.cxx generated
+/cmFortranParserTokens.h generated
+/cmListFileLexer.c generated