mirror of
https://github.com/git/git
synced 2024-11-05 01:58:18 +00:00
b45602e392
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>
16 lines
312 B
INI
16 lines
312 B
INI
[*]
|
|
charset = utf-8
|
|
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},config.mak.*,Makefile}]
|
|
indent_style = tab
|
|
tab_width = 8
|
|
|
|
[*.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[COMMIT_EDITMSG]
|
|
max_line_length = 72
|