aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2025-01-20 01:56:00 +0000
committerJunio C Hamano <gitster@pobox.com>2025-01-21 12:56:05 -0800
commit97343c8c2f6e63fd0889b422ab65126448e68619 (patch)
tree92978afcd528548071784723e1344fee27ef2472
parentdoc: update gitignore for .adoc extension (diff)
downloadgit-97343c8c2f6e63fd0889b422ab65126448e68619.tar.gz
git-97343c8c2f6e63fd0889b422ab65126448e68619.zip
editorconfig: add .adoc extension
The .adoc extension is commonly used for AsciiDoc files. In a future commit, we'll update some files to switch from the .txt extension to the .adoc extension, so update the EditorConfig file to use the same configuration for both extensions, since we want the files to be formatted completely identically whether they're using the older or newer extension. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--.editorconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index 15d6cbeab1..a3c578a43c 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -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},config.mak.*,Makefile}]
+[{*.{c,h,sh,perl,pl,pm,txt,adoc},config.mak.*,Makefile}]
indent_style = tab
tab_width = 8