From 328cb75996aad4963564079f898caef0437721d5 Mon Sep 17 00:00:00 2001 From: Brad King <brad.king@kitware.com> Date: Wed, 11 Mar 2015 16:31:31 -0400 Subject: [PATCH] Tell Git how to check Markdown (.md) source files Disallow tabs in document indentation. We will use four spaces instead of a tab to indent nested blocks. Use large conflict markers because otherwise '=======' underlines in Markdown section headers look like conflict markers to the automatic checks. --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index a790f47a5c..2f699ce787 100644 --- a/.gitattributes +++ b/.gitattributes @@ -14,4 +14,6 @@ pre-commit crlf=input *.txt whitespace=tab-in-indent *.cmake whitespace=tab-in-indent +*.md whitespace=tab-in-indent conflict-marker-size=30 + /ThirdParty/sqlite/vtksqlite/vtk_sqlite3.c hooks.MaxObjectKiB=4096 -- GitLab