about summary refs log tree commit diff
path: root/third_party/git/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/.editorconfig')
-rw-r--r--third_party/git/.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/git/.editorconfig b/third_party/git/.editorconfig
new file mode 100644
index 000000000000..f9d819623d83
--- /dev/null
+++ b/third_party/git/.editorconfig
@@ -0,0 +1,16 @@
+[*]
+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}]
+indent_style = tab
+tab_width = 8
+
+[*.py]
+indent_style = space
+indent_size = 4
+
+[COMMIT_EDITMSG]
+max_line_length = 72