aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Gautier <mg@max.gautier.name>2024-03-22 23:17:58 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-23 11:42:31 -0700
commitb45602e392398f29be0af1ac7e202b996f99c747 (patch)
tree0baf27df3bf044c06ea59a1aec10948f8b92e999
parent11c821f2f2a31e70fb5cc449f9a29401c333aad2 (diff)
downloadgit-b45602e392398f29be0af1ac7e202b996f99c747.tar.gz
editorconfig: add Makefiles to "text files"
The Makefile and makefile fragments use the same indent style than the rest of the code (with some inconsistencies). Add them to the relevant .editorconfig section to make life easier for editors and reviewers. Signed-off-by: Max Gautier <mg@max.gautier.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--.editorconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index f9d819623d..15d6cbeab1 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -4,7 +4,7 @@ insert_final_newline = true
# The settings for C (*.c and *.h) files are mirrored in .clang-format. Keep
# them in sync.
-[*.{c,h,sh,perl,pl,pm,txt}]
+[{*.{c,h,sh,perl,pl,pm,txt},config.mak.*,Makefile}]
indent_style = tab
tab_width = 8