From: Junio C Hamano <gitster@pobox.com>
To: "Jean-Noël Avila via GitGitGadget" <gitgitgadget@gmail.com>
Cc: git@vger.kernel.org, "Jean-Noël Avila" <jn.avila@free.fr>
Subject: Re: [PATCH 1/4] doc: apply synopsis style conversion with git-svn
Date: Wed, 25 Nov 2026 08:27:38 -0800 [thread overview]
Message-ID: <xmqqv75k98qt.fsf@gitster.g> (raw)
In-Reply-To: <7d5ab0faa0ac5c2c0c97090ff17999cdcadaad55.1795556940.git.gitgitgadget@gmail.com> ("Jean-Noël Avila via GitGitGadget"'s message of "Tue, 24 Nov 2026 21:48:57 +0000")
"Jean-Noël Avila via GitGitGadget" <gitgitgadget@gmail.com> writes:
> -'rebase'::
> - This fetches revisions from the SVN parent of the current HEAD
> +`rebase`::
> + Fetch revisions from the SVN parent of the current HEAD
> and rebases the current (uncommitted to SVN) work against it.
Changing "This fetches" to imperative "Fetch" makes the verb on the next
line disagree ("Fetch ... and rebases"). Changing "rebases" to "rebase"
fixes that.
> -[verse]
> +[synopsis]
> config key: svn-remote.<name>.commiturl
> config key: svn.commiturl (overwrites all svn-remote.<name>.commiturl options)
> +
The [synopsis] attribute makes the AsciiDoc/Asciidoctor filter highlight
command tokens inside the block, so prose words like "config", "key:",
"overwrites", "all", and "options" end up rendered as literal code.
Elsewhere in this patch you removed [verse] and backtick-quoted the key
instead, e.g.,
config key: `svn.rmdir`
Doing the same here and in the svn.pushmergeinfo entry under --mergeinfo
would keep the rendering clean and consistent, wouldn't it?
> --F <filename>;;
> ---file=<filename>;;
> - Take the commit message from the given file. This option
> +`-F <filename>`;;
> +`--file=<filename>`;;
> + Take the commit message from the file `<filename>`. This option
> disables the `--edit` option.
A few days ago I was referring somebody else to your earlier series [*]
and noticed that you would have said _<filename>_ not `<filename>` in
running text. I am not quite sure about the differences, but as I
noticed the use of `<filename>` here,...
[*] e9a99ef2da (doc: convert git-format-patch synopsis and
options to new style, 2026-07-23), appearing as a part of
bf6bc2ae42 (Merge branch 'ja/doc-synopsis-style-yet-more',
2026-08-11)
> +`-r <arg>`::
> +`--revision <arg>`::
> + Fetch the given revision range for partial/cauterized history.
> + Only used with the `fetch` command.
> +
> -This allows revision ranges for partial/cauterized history
> -to be supported. $NUMBER, $NUMBER1:$NUMBER2 (numeric ranges),
> -$NUMBER:HEAD, and BASE:$NUMBER are all supported.
> +`<rev-num>`, `<ref-num-1>:<rev-num-2>` (numeric ranges),
> +`<rev-num>:HEAD`, and `BASE:<rev-num>` are all supported.
Shouldn't the left hand side of ':' be <rev-num-1> instead of ref-num-1?
> ---authors-prog=<filename>::
> - If this option is specified, for each SVN committer name that
> - does not exist in the authors file, the given file is executed
> - with the committer name as the first argument. The program is
> - expected to return a single line of the form "Name <email>" or
> +`--authors-prog=<program>`::
> + Execute `<program>` for each SVN committer name that
> + does not exist in the authors file, with the committer name as the
> + first argument. The program is
> + expected to return a single line of the form "Name _<email>_" or
> "Name <>", which will be treated as if included in the authors
The reference to author ident "Name _<email>_" or "Name <>" differs from
the backticked "Name <email>" form used in patch 2/4. Not clear to me
which one we want to standardize on.
> file.
> +
> -Due to historical reasons a relative 'filename' is first searched
> -relative to the current directory for 'init' and 'clone' and relative
> -to the root of the working tree for 'fetch'. If 'filename' is
> -not found, it is searched like any other command in '$PATH'.
> +Due to historical reasons a relative `filename` is first searched
> +relative to the current directory for `init` and `clone` and relative
> +to the root of the working tree for `fetch`. If `filename` is
> +not found, it is searched like any other command in `$PATH`.
The same comment on `<program>` in the first sentence (vs _<program>_).
Because the option parameter was renamed from <filename> to <program>,
the second paragraph now refers to a filename that is no longer in the
option header. SHouldn't it be "a relative _<filename>_ is first ..."?
Thanks.
next prev parent reply other threads:[~2026-11-25 16:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 21:48 [PATCH 0/4] doc: convert git-svn, git-fast-{import,export} to synopsis Jean-Noël Avila via GitGitGadget
2026-11-24 21:48 ` [PATCH 1/4] doc: apply synopsis style conversion with git-svn Jean-Noël Avila via GitGitGadget
2026-11-25 16:27 ` Junio C Hamano [this message]
2026-11-24 21:48 ` [PATCH 2/4] doc: git-svn: add missing config options to the documentation Jean-Noël Avila via GitGitGadget
2026-11-25 14:14 ` Junio C Hamano
2026-11-24 21:48 ` [PATCH 3/4] doc: convert git-fast-import.adoc to synopsis style Jean-Noël Avila via GitGitGadget
2026-11-25 15:17 ` Junio C Hamano
2026-11-24 21:49 ` [PATCH 4/4] doc: convert git-fast-export.adoc " Jean-Noël Avila via GitGitGadget
2026-11-25 5:07 ` Junio C Hamano
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=xmqqv75k98qt.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=gitgitgadget@gmail.com \
--cc=jn.avila@free.fr \
/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