From 6427e7f808e659436218716835342c68cf78de91 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Wed, 16 Jan 2019 11:38:07 +0100 Subject: [PATCH] Further improve .gitattributes --- .gitattributes | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 942edecc..811416ff 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,6 @@ -* text=auto -*.[ch] text whitespace=fix -*.yaml text whitespace=fix +* text=auto +*.[ch] text whitespacestrict +*.yaml text whitespacestrict +Makefile text whitespace="tabwidth=4,-tab-in-indent" + +[attr]whitespacestrict whitespace="trailing-space,indent-with-non-tab,space-before-tab,tabwidth=4"