mirror of
https://github.com/git/git.git
synced 2026-03-04 22:47:35 +01:00
The sample hooks are shell scripts but the filenames end with ".sample" so they need their own .gitattributes rule. Update our editorconfig settings to match the attributes as well. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
17 lines
347 B
INI
17 lines
347 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,bash,perl,pl,pm,txt,adoc},config.mak.*,Makefile,templates/hooks/*.sample}]
|
|
indent_style = tab
|
|
tab_width = 8
|
|
|
|
[*.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[COMMIT_EDITMSG]
|
|
max_line_length = 72
|