mirror of
https://github.com/git/git.git
synced 2024-10-31 14:27:54 +01:00
b548d698a0
Now that we have two places where we set code formatting settings, .editorconfig and .clang-format, it's possible that they could fall out of sync. This is relatively unlikely, since we're not likely to change the tab width or our preference for tabs, but just in case, add comments to both files reminding future developers to keep them in sync. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Reviewed-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
16 lines
284 B
INI
16 lines
284 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}]
|
|
indent_style = tab
|
|
tab_width = 8
|
|
|
|
[*.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[COMMIT_EDITMSG]
|
|
max_line_length = 72
|