mirror of
https://github.com/git/git.git
synced 2024-11-23 09:56:28 +08:00
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>
This commit is contained in:
parent
11c821f2f2
commit
b45602e392
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user