1
0
mirror of https://github.com/git/git synced 2024-06-30 22:54:27 +00:00

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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jeff King 2017-06-06 15:01:11 -04:00 committed by Junio C Hamano
parent a0103914c2
commit 5d184f468e

1
sha1dc/.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* whitespace=-indent-with-non-tab