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

Re: [PATCH 00/59] Split config.txt

From
Stefan Beller <sbeller@google.com>
Date
Oct 22, 2018, 19:22 UTC
Message-ID
<CAGZ79kZyjjG9oRzC4jJ4ZqD2efkzR5GyFHUkZKf=811emE=tHA@mail.gmail.com>
In-Reply-To
<20181020123848.2785-1-pclouds@gmail.com>
On Sat, Oct 20, 2018 at 5:39 AM Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
Show 15 quoted lines
>
> I started this a couple months back, moving a couple big config
> sections out of config.txt to make it more manageable. This series
> almost completes that. It moves all configs (except http.* which have
> changes on 'pu') out of config.txt. config.txt is now about the
> syntax, and a list of config sections. http section can be moved out
> later.
>
> I did a doc-diff on this series and the only change is ssh.variant is
> moved down a bit to keep it in order, which is intended.
>
> I thought of grouping all these config files in a separate directory
> Documentation/config to avoid cluttering Documentation/ too much but
> let's wait and see if people really find Documentation growing too
> large first.

Have you considered to use config as a prefix, i.e. have config-add.txt instead of add-config.txt ?

currently any command is documented in a file that is prefixed with "git-". There are others such as gitcli or gitsubmodules, but as they lack the '-' they surely are not about a command.

With the config- prefix it would be easier to sort and cope with the individual files, and it would allow grepping through Documentation/conf* (which may be easier than Documentation/*conf* or similar)

I have no strong objection to the series as is (I have not looked at any patch), but I would think either a config directory or prefix may help further.

Stefan
Previous: Duy Nguyen
Message 67 of 67 in “Split config.txt”
  1. 00/59 Split config.txtNguyễn Thái Ngọc Duy, Oct 20, 2018
  2. 01/59 config.txt: move advice.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  3. 03/59 config.txt: move add.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  4. 04/59 config.txt: move alias.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  5. 05/59 config.txt: move am.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  6. 06/59 config.txt: move apply.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  7. 07/59 config.txt: move blame.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  8. 02/59 config.txt: move core.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  9. 08/59 config.txt: move branch.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  10. 10/59 config.txt: move checkout.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  11. 11/59 config.txt: move clean.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  12. 09/59 config.txt: move browser.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  13. 13/59 config.txt: move column.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  14. 14/59 config.txt: move commit.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  15. 12/59 config.txt: move color.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  16. 15/59 config.txt: move credential.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  17. 16/59 config.txt: move completion.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  18. 17/59 config.txt: move difftool.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  19. 18/59 config.txt: move fastimport.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  20. 19/59 config.txt: move filter.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  21. 20/59 config.txt: move fsck.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  22. 21/59 config.txt: move gc.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  23. 22/59 config.txt: move gitweb.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  24. 23/59 config.txt: move grep.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  25. 24/59 config.txt: move gpg.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  26. 25/59 config.txt: move guitool.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  27. 26/59 config.txt: move help.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  28. 27/59 config.txt: move ssh.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  29. 28/59 config.txt: move i18n.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  30. 29/59 config.txt: move i18n.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  31. Andrei RybakOct 21, 2018
  32. 30/59 config.txt: move init.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  33. 31/59 config.txt: move instaweb.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  34. 32/59 config.txt: move interactive.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  35. 33/59 config.txt: move log.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  36. 34/59 config.txt: move mailinfo.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  37. 36/59 config.txt: move man.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  38. 35/59 config.txt: move mailmap.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  39. 37/59 config.txt: move mergetool.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  40. 38/59 config.txt: move notes.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  41. 40/59 config.txt: move pager.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  42. 41/59 config.txt: move pretty.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  43. 39/59 config.txt: move pack.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  44. 42/59 config.txt: move protocol.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  45. 43/59 config.txt: move remote.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  46. 44/59 config.txt: move remotes.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  47. 45/59 config.txt: move repack.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  48. 46/59 config.txt: move rerere.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  49. 48/59 config.txt: move showBranch.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  50. 49/59 config.txt: move splitIndex.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  51. 47/59 config.txt: move sequencer.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  52. 51/59 config.txt: move tag.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  53. 50/59 config.txt: move status.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  54. 52/59 config.txt: move transfer.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  55. 53/59 config.txt: move uploadarchive.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  56. 55/59 config.txt: move url.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  57. 54/59 config.txt: move uploadpack.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  58. 56/59 config.txt: move user.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  59. 57/59 config.txt: move versionsort.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  60. 58/59 config.txt: move web.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  61. 59/59 config.txt: move worktree.* to a separate fileNguyễn Thái Ngọc Duy, Oct 20, 2018
  62. Ævar Arnfjörð BjarmasonOct 20, 2018
  63. Duy NguyenOct 20, 2018
  64. Ævar Arnfjörð BjarmasonOct 20, 2018
  65. Junio C HamanoOct 20, 2018
  66. Duy NguyenOct 22, 2018
  67. Stefan BellerOct 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.