From: Jeff King Date: Tue, 6 Jun 2017 19:01:11 +0000 (-0400) Subject: sha1dc: ignore indent-with-non-tab whitespace violations X-Git-Tag: v2.13.2~28^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5d184f468e59cd9c5b51b5c139540015c8e41b18 sha1dc: ignore indent-with-non-tab whitespace violations The upstream sha1dc code indents some lines with spaces. While this doesn't match Git's coding guidelines, it's better to leave this imported code untouched than to try to make it match our style. However, we can use .gitattributes to tell "diff --check" and "git am" not to bother us about it. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/sha1dc/.gitattributes b/sha1dc/.gitattributes new file mode 100644 index 0000000000..da53f40548 --- /dev/null +++ b/sha1dc/.gitattributes @@ -0,0 +1 @@ +* whitespace=-indent-with-non-tab