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

[PATCH/RFC 00/11] Break down Documentation/config.txt

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Aug 22, 2018, 16:05 UTC
Message-ID
<20180822160605.21864-1-pclouds@gmail.com>

I notice a couple times lately that people added new config keys in the wrong place, which is understandable since this file has become so big, it's hard to see the structure of anything.

Since we have broken down some parts of it into separate files already, this continues in that direction and moves even more parts out of config.txt.

I don't have a well defined criteria to decide which part should be moved out. I just did it when I see a section is getting too big, or becomes less relevant today, or not move to avoid conflicts on 'pu'. But if this is a good move, we can discuss this further.

I group by section, but I think in some cases we can even do better and group multiple sections in one file (which also means they are rendered close together). This again is up to discussion.

Nguyễn Thái Ngọc Duy (11):
  config.txt: follow camelCase naming
  config.txt: move fetch part out to a separate file
  config.txt: move format part out to a separate file
  config.txt: move gitcvs part out to a separate file
  config.txt: move gui part out to a separate file
  config.txt: move pull part out to a separate file
  config.txt: move push part out to a separate file
  config.txt: move receive part out to a separate file
  config.txt: move sendemail part out to a separate file
  config.txt: move sequence.editor out of "core" part
  config.txt: move submodule part out to a separate file
 Documentation/config.txt           | 720 +----------------------------
 Documentation/fetch-config.txt     |  65 +++
 Documentation/format-config.txt    |  87 ++++
 Documentation/gitcvs-config.txt    |  67 +++
 Documentation/gui-config.txt       |  57 +++
 Documentation/pull-config.txt      |  36 ++
 Documentation/push-config.txt      | 113 +++++
 Documentation/receive-config.txt   | 123 +++++
 Documentation/sendemail-config.txt |  63 +++
 Documentation/submodule-config.txt |  82 ++++
 10 files changed, 711 insertions(+), 702 deletions(-)
 create mode 100644 Documentation/fetch-config.txt
 create mode 100644 Documentation/format-config.txt
 create mode 100644 Documentation/gitcvs-config.txt
 create mode 100644 Documentation/gui-config.txt
 create mode 100644 Documentation/pull-config.txt
 create mode 100644 Documentation/push-config.txt
 create mode 100644 Documentation/receive-config.txt
 create mode 100644 Documentation/sendemail-config.txt
 create mode 100644 Documentation/submodule-config.txt
-- 
2.19.0.rc0.335.ga73d156e9c
Next: Nguyễn Thái Ngọc Duy
Message 1 of 13 in “Break down Documentation/config.txt”
  1. 00/11 Break down Documentation/config.txtNguyễn Thái Ngọc Duy, Aug 22, 2018
  2. 01/11 config.txt: follow camelCase namingNguyễn Thái Ngọc Duy, Aug 22, 2018
  3. 02/11 config.txt: move fetch part out to a separate fileNguyễn Thái Ngọc Duy, Aug 22, 2018
  4. 03/11 config.txt: move format part out to a separate fileNguyễn Thái Ngọc Duy, Aug 22, 2018
  5. 05/11 config.txt: move gui part out to a separate fileNguyễn Thái Ngọc Duy, Aug 22, 2018
  6. 04/11 config.txt: move gitcvs part out to a separate fileNguyễn Thái Ngọc Duy, Aug 22, 2018
  7. 06/11 config.txt: move pull part out to a separate fileNguyễn Thái Ngọc Duy, Aug 22, 2018
  8. 07/11 config.txt: move push part out to a separate fileNguyễn Thái Ngọc Duy, Aug 22, 2018
  9. 09/11 config.txt: move sendemail part out to a separate fileNguyễn Thái Ngọc Duy, Aug 22, 2018
  10. 08/11 config.txt: move receive part out to a separate fileNguyễn Thái Ngọc Duy, Aug 22, 2018
  11. 10/11 config.txt: move sequence.editor out of "core" partNguyễn Thái Ngọc Duy, Aug 22, 2018
  12. 11/11 config.txt: move submodule part out to a separate fileNguyễn Thái Ngọc Duy, Aug 22, 2018
  13. Junio C HamanoAug 22, 2018

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.