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 коммит произвёл Junio C Hamano
Родитель a0103914c2
Коммит 5d184f468e
1 изменённых файлов: 1 добавлений и 0 удалений

1
sha1dc/.gitattributes поставляемый Normal file
Просмотреть файл

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