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

ab/align-parse-options-help & ab/help-config-vars

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Oct 1, 2021, 15:01 UTC
Message-ID
<87a6jsrdj0.fsf@evledraar.gmail.com>
In-Reply-To
<xmqqh7e18soj.fsf@gitster.g>
On Thu, Sep 30 2021, Junio C Hamano wrote:
Show 28 quoted lines
> * ab/align-parse-options-help (2021-09-22) 4 commits
>  - parse-options: properly align continued usage output
>  - git rev-parse --parseopt tests: add more usagestr tests
>  - send-pack: properly use parse_options() API for usage string
>  - parse-options API users: align usage output in C-strings
>
>  When "git cmd -h" shows more than one line of usage text (e.g.
>  the cmd subcommand may take sub-sub-command), parse-options API
>  learned to align these lines, even across i18n/l10n.
>
>  Will merge to 'next'?
>
>
> * ab/help-config-vars (2021-09-23) 9 commits
>  - help: move column config discovery to help.c library
>  - help / completion: make "git help" do the hard work
>  - help tests: test --config-for-completion option & output
>  - help: simplify by moving to OPT_CMDMODE()
>  - help: correct logic error in combining --all and --guides
>  - help: correct logic error in combining --all and --config
>  - help tests: add test for --config output
>  - help: correct usage & behavior of "git help --guides"
>  - help: correct the usage string in -h and documentation
>
>  Teach "git help -c" into helping the command line completion of
>  configuration variables.
>
>  Will merge to 'next'?

I think the v5[1] and v3[2] of these have, respectively, reached an "addressed all feedback" and "should be good enough". I.e. had some feedback on [2] that I'm choosing to read as some post-cleanup suggestions :)

The reason I wanted [2] was for some user-facing documentation query improvements in "git help", so having it go forward would be great. Thanks!

1. https://lore.kernel.org/git/cover-v5-0.4-00000000000-20210921T132350Z-avarab@gmail.com/
2. https://lore.kernel.org/git/cover-v3-0.9-00000000000-20210921T223223Z-avarab@gmail.com/
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 13 of 15 in “What's cooking in git.git (Sep 2021, #09; Thu, 30)”
  1. Junio C HamanoOct 1, 2021
  2. en/removing-untracked-fixes [Was: Re: What's cooking in git.git (Sep 2021, #09; Thu, 30)]Elijah Newren, Oct 1, 2021
  3. Ævar Arnfjörð BjarmasonOct 1, 2021
  4. Junio C HamanoOct 1, 2021
  5. en/remerge-diff [Was: Re: What's cooking in git.git (Sep 2021, #09; Thu, 30)]Elijah Newren, Oct 1, 2021
  6. Jeff KingOct 1, 2021
  7. Ævar Arnfjörð BjarmasonOct 1, 2021
  8. ab/fsck-unexpected-typeÆvar Arnfjörð Bjarmason, Oct 1, 2021
  9. ab/parse-options-cleanupÆvar Arnfjörð Bjarmason, Oct 1, 2021
  10. ab/sanitize-leak-ci & more leak fixes soon-or-notÆvar Arnfjörð Bjarmason, Oct 1, 2021
  11. Jeff HostetlerOct 1, 2021
  12. ab/refs-errno-cleanupÆvar Arnfjörð Bjarmason, Oct 1, 2021
  13. ab/align-parse-options-help & ab/help-config-varsÆvar Arnfjörð Bjarmason, Oct 1, 2021
  14. ab/lib-subtestÆvar Arnfjörð Bjarmason, Oct 1, 2021
  15. ab/config-based-hooks-1Ævar Arnfjörð Bjarmason, Oct 1, 2021

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.