]> 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)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Apr 2024 23:36:05 +0000 (16:36 -0700)
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.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-gui/.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