git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/5] editorconfig: add .adoc extension

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jan 20, 2025, 01:56 UTC
Message-ID
<20250120015603.1980991-3-sandals@crustytoothpaste.net>
In-Reply-To
<20250120015603.1980991-1-sandals@crustytoothpaste.net>

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>
---
 .editorconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
 
Previous: brian m. carlsonNext: brian m. carlson
Message 2 of 19 in “Convert AsciiDoc files to .adoc extension”
  1. 0/5 Convert AsciiDoc files to .adoc extensionbrian m. carlson, Jan 20, 2025
  2. 2/5 editorconfig: add .adoc extensionbrian m. carlson, Jan 20, 2025
  3. 3/5 gitattributes: mark AsciiDoc files as LF-onlybrian m. carlson, Jan 20, 2025
  4. 1/5 doc: update gitignore for .adoc extensionbrian m. carlson, Jan 20, 2025
  5. 4/5 doc: use .adoc extension for AsciiDoc filesbrian m. carlson, Jan 20, 2025
  6. Jean-Noël AvilaJan 20, 2025
  7. brian m. carlsonJan 20, 2025
  8. Junio C HamanoJan 20, 2025
  9. Jean-Noël AvilaJan 21, 2025
  10. M HickfordFeb 6, 2025
  11. Junio C HamanoFeb 6, 2025
  12. Junio C HamanoFeb 6, 2025
  13. D. Ben KnobleFeb 7, 2025
  14. Junio C HamanoFeb 7, 2025
  15. Junio C HamanoFeb 7, 2025
  16. brian m. carlsonFeb 7, 2025
  17. 5/5 Remove obsolete ".txt" extensions for AsciiDoc filesbrian m. carlson, Jan 20, 2025
  18. M HickfordJan 20, 2025
  19. D. Ben KnobleJan 20, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.