Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Tuomas Ahola <taahol@utu.fi>
Cc: <git@vger.kernel.org>,  Julia Evans <julia@jvns.ca>
Subject: Re: [PATCH v4 1/2] command-list.txt: add gitformat-loose(5) and gitpacking(7)
Date: Fri, 27 Nov 2026 06:17:38 -0800	[thread overview]
Message-ID: <xmqq33sme4u5.fsf@gitster.g> (raw)
In-Reply-To: <20261126201110.9046-2-taahol@utu.fi> (Tuomas Ahola's message of "Thu, 26 Nov 2026 22:11:09 +0200")

Tuomas Ahola <taahol@utu.fi> writes:

> Three manpages from sections 5 and 7 are not featured in
> command-list.txt as concept guides or interface manuals.

Since this series is now based after the removal of gittutorial-2(7)
from command-list.txt while its stub remains in MAN7_TXT in
Documentation/Makefile, there are actually four section 5 and 7 manpages
missing from command-list.txt (gitformat-loose(5), gitpacking(7),
gitweb.conf(5), and the obsolete gittutorial-2(7) stub).

Updating the count and mentioning gittutorial-2(7) alongside
gitweb.conf(5) here would keep the log consistent with patch 2/2.

> As easy fixes, add gitformat-loose(5) to 'developerinterfaces'
> and make gitpacking(7) a 'guide'.
>
> That leaves only gitweb.conf(5) which could be added to
> 'userinterfaces'.  However, the manual would then appear
> as "web.conf" in `git help -a` which is just confusing.
> So, perhaps we are better off by leaving it out.

The above matches help.c:drop_prefix(), which strips the "git" prefix
for CAT_userinterfaces (unlike commands, where it strips "git-").
"gitweb.conf" would indeed show up as "web.conf" in both "git help -a"
and "git help --user-interfaces".  Leaving it out is a sensible
workaround, at least for now.

By the way, plain single quotes 'git help -a' instead of backticks are
preferred in the commit messages.  Nobody passes these proposed log
messages through AsciiDoc or Markdown processors, and they are supposed
to be pure text.

> Signed-off-by: Tuomas Ahola <taahol@utu.fi>
> ---
>  command-list.txt | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/command-list.txt b/command-list.txt
> index 56d0d7ed9b..6936ae8409 100644
> --- a/command-list.txt
> +++ b/command-list.txt
> @@ -225,6 +225,7 @@ gitformat-bundle                        developerinterfaces
>  gitformat-chunk                         developerinterfaces
>  gitformat-commit-graph                  developerinterfaces
>  gitformat-index                         developerinterfaces
> +gitformat-loose                         developerinterfaces
>  gitformat-pack                          developerinterfaces
>  gitformat-signature                     developerinterfaces
>  gitglossary                             guide
> @@ -235,6 +236,7 @@ gitmailmap                              userinterfaces
>  gitmergeconflicts                       guide
>  gitmodules                              userinterfaces
>  gitnamespaces                           guide
> +gitpacking                              guide
>  gitprotocol-capabilities                developerinterfaces
>  gitprotocol-common                      developerinterfaces
>  gitprotocol-http                        developerinterfaces

Both entries are placed in the right alphabetical spots and match the
existing categories

Their NAME lines in Documentation/gitformat-loose.adoc and
Documentation/gitpacking.adoc already match the expected "<name> -
<Capitalized description>" format consumed by tools/generate-cmdlist.sh
and Documentation/cmd-list.sh.

Aside from refreshing the commit message for gittutorial-2(7), this
step looks good.

Thanks.

  reply	other threads:[~2026-11-27 14:17 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-09  5:24 [PATCH 0/2] guides: keep Documentation/Makefile and command-list.txt in sync Tuomas Ahola
2026-09-09  5:25 ` [PATCH 1/2] command-list: add gitformat-loose(5) and gitpacking(7) Tuomas Ahola
2026-09-09 18:15   ` Junio C Hamano
2026-09-09  5:25 ` [PATCH 2/2] lint-docs: check the guide list in command-list.txt Tuomas Ahola
2026-09-09 18:15   ` Junio C Hamano
2026-09-10 19:43 ` [PATCH v2 0/2] guides: keep Documentation/Makefile and command-list.txt in sync Tuomas Ahola
2026-09-10 19:43   ` [PATCH v2 1/2] command-list.txt: add gitformat-loose(5) and gitpacking(7) Tuomas Ahola
2026-09-10 19:43   ` [PATCH v2 2/2] lint-docs: check the guide list in command-list.txt Tuomas Ahola
2026-10-29 18:48 ` [PATCH v3 0/2] guides: keep Documentation/Makefile and command-list.txt in sync Tuomas Ahola
2026-10-29 18:48   ` [PATCH v3 1/2] command-list.txt: add gitformat-loose(5) and gitpacking(7) Tuomas Ahola
2026-11-05 19:32     ` Junio C Hamano
2026-11-11 21:57       ` Tuomas Ahola
2026-10-29 18:48   ` [PATCH v3 2/2] lint-docs: check the guide list in command-list.txt Tuomas Ahola
2026-11-02 18:39     ` Julia Evans
2026-11-03 17:09       ` Tuomas Ahola
2026-11-05 19:41     ` Junio C Hamano
2026-11-11 22:00       ` Tuomas Ahola
2026-11-26 20:11 ` [PATCH v4 0/2] guides: keep Documentation/Makefile and command-list.txt in sync Tuomas Ahola
2026-11-26 20:11   ` [PATCH v4 1/2] command-list.txt: add gitformat-loose(5) and gitpacking(7) Tuomas Ahola
2026-11-27 14:17     ` Junio C Hamano [this message]
2026-11-27 21:02       ` Kristoffer Haugsbakk
2026-11-27 22:14         ` Junio C Hamano
2026-11-26 20:11   ` [PATCH v4 2/2] lint-docs: ensure command-list.txt lists all guides Tuomas Ahola
2026-11-27 10:33     ` Tuomas Ahola
2026-11-27 15:07     ` Junio C Hamano
2026-11-27 17:42       ` Tuomas Ahola
2026-11-27 19:13         ` Junio C Hamano
2026-11-30 16:22 ` [PATCH v5 0/2] guides: keep Documentation/Makefile and command-list.txt in sync Tuomas Ahola
2026-11-30 16:22   ` [PATCH v5 1/2] command-list.txt: add gitformat-loose(5) and gitpacking(7) Tuomas Ahola
2026-11-30 16:22   ` [PATCH v5 2/2] lint-docs: ensure command-list.txt lists all guides Tuomas Ahola

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=xmqq33sme4u5.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=julia@jvns.ca \
    --cc=taahol@utu.fi \
    /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