Skip to content

Commit 5d184f4

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a010391 commit 5d184f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sha1dc/.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* whitespace=-indent-with-non-tab

0 commit comments

Comments
 (0)