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/