]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Makefile(s): do not enforce "all indents must be done with tab"
authorJunio C Hamano <gitster@pobox.com>
Mon, 8 Apr 2024 23:36:05 +0000 (16:36 -0700)
committerJohannes Sixt <j6t@kdbg.org>
Sun, 5 May 2024 14:54:35 +0000 (16:54 +0200)
Our top-level Makefile follows our generic whitespace rule
established by the top-level .gitattributes file that does not
enforce indent-with-non-tab rule by default, but git-gui is set up
to enforce indent-with-non-tab by default.  With the upcoming change
to GNU make, we no longer can reject (and worse, "fix") a patch that
adds whitespace indented lines to the Makefile, so loosen the rule
there for git-gui/Makefile, too.

[j6t: cherry-picked from 227b8fd90240]

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
.gitattributes

index 59cd41dbff72e3073f5ef0380350ec9ea3c4af5b..118d56cfbdcb9070ab107c19210523afcb1e889c 100644 (file)
@@ -3,3 +3,4 @@
 git-gui.sh  encoding=UTF-8
 /po/*.po    encoding=UTF-8
 /GIT-VERSION-GEN eol=lf
+Makefile    whitespace=!indent,trail,space