From: Junio C Hamano <gitster@pobox.com>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: ab/parse-options-cleanup & ab/align-parse-options-help & ab/help-config-vars
Date: Wed, 06 Oct 2021 09:44:05 -0700 [thread overview]
Message-ID: <xmqqzgrmrtm2.fsf@gitster.g> (raw)
In-Reply-To: <87ilyaihdd.fsf@evledraar.gmail.com> ("Ævar Arnfjörð Bjarmason"'s message of "Wed, 06 Oct 2021 12:17:29 +0200")
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> On Mon, Oct 04 2021, Junio C Hamano wrote:
>
>> * ab/parse-options-cleanup (2021-10-01) 11 commits
>> - parse-options: change OPT_{SHORT,UNSET} to an enum
>> - parse-options tests: test optname() output
>> - parse-options.[ch]: make opt{bug,name}() "static"
>> - commit-graph: stop using optname()
>> - parse-options.c: move optname() earlier in the file
>> - parse-options.h: make the "flags" in "struct option" an enum
>> - parse-options.c: use exhaustive "case" arms for "enum parse_opt_type"
>> - parse-options.c: use exhaustive "case" arms for "enum parse_opt_result"
>> - parse-options.[ch]: consistently use "enum parse_opt_result"
>> - parse-options.[ch]: consistently use "enum parse_opt_flags"
>> - parse-options.h: move PARSE_OPT_SHELL_EVAL between enums
>>
>> Random changes to parse-options implementation.
>>
>> Will merge to 'next'?
As I already said, I am not convinced by the "exhaustive case"
thing. Other than that, I think this is OK.
>> * 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'?
This was more or less "Meh" for me.
>> * 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'?
This is probably a good thing to do. I do not remember what
implementation nits were still there offhand.
next prev parent reply other threads:[~2021-10-06 16:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-04 23:44 What's cooking in git.git (Oct 2021, #01; Mon, 4) Junio C Hamano
2021-10-04 23:52 ` Taylor Blau
2021-10-05 16:01 ` ab/refs-errno-cleanup Ævar Arnfjörð Bjarmason
2021-10-05 16:47 ` hm/paint-hits-in-log-grep Ævar Arnfjörð Bjarmason
2021-10-05 17:07 ` ab/designated-initializers-more Ævar Arnfjörð Bjarmason
2021-10-05 20:47 ` ab/fsck-unexpected-type (and "cat-file replace handling and optimization") Ævar Arnfjörð Bjarmason
2021-10-05 22:01 ` Jeff King
2021-10-06 8:54 ` Ævar Arnfjörð Bjarmason
2021-10-07 21:37 ` Junio C Hamano
2021-10-08 2:25 ` Jeff King
2021-10-08 20:50 ` Junio C Hamano
2021-10-06 10:14 ` ab/make-sparse-for-real Ævar Arnfjörð Bjarmason
2021-10-06 10:17 ` ab/parse-options-cleanup & ab/align-parse-options-help & ab/help-config-vars Ævar Arnfjörð Bjarmason
2021-10-06 16:44 ` Junio C Hamano [this message]
2021-10-06 10:26 ` ab/refs-errno-cleanup & "errno" removal in the refs backend Ævar Arnfjörð Bjarmason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqzgrmrtm2.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=avarab@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).