attr: enable incomplete-line whitespace error for this project

Now "git diff --check" and "git apply --whitespace=warn/fix" learned incomplete line is a whitespace error, enable them for this project to prevent patches to add new incomplete lines to our source to both code and documentation files. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Nov 12, 2025 at 14:02 UTC 51358a1ede7f4b6b50e4e5a86558af5204691fe0
1 file changed +3 -3
.gitattributes
+3 -3
@@ -1,13 +1,13 @@
1 * whitespace=!indent,trail,space
2 -*.[ch] whitespace=indent,trail,space diff=cpp
3 -*.sh whitespace=indent,trail,space text eol=lf
2 +*.[ch] whitespace=indent,trail,space,incomplete diff=cpp
3 +*.sh whitespace=indent,trail,space,incomplete text eol=lf
4 *.perl text eol=lf diff=perl
5 *.pl text eof=lf diff=perl
6 *.pm text eol=lf diff=perl
7 *.py text eol=lf diff=python
8 *.bat text eol=crlf
9 CODE_OF_CONDUCT.md -whitespace
10 -/Documentation/**/*.adoc text eol=lf
10 +/Documentation/**/*.adoc text eol=lf whitespace=trail,space,incomplete
11 /command-list.txt text eol=lf
12 /GIT-VERSION-GEN text eol=lf
13 /mergetools/* text eol=lf