Skip to content

Commit

Permalink
Makefile(s): do not enforce "all indents must be done with tab"
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
gitster committed Apr 8, 2024
1 parent 728b9ac commit 227b8fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-gui/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 227b8fd

Please sign in to comment.