Git development
 help / color / mirror / Atom feed
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 3/4] doc: convert git-fast-import.adoc to synopsis style
Date: Wed, 25 Nov 2026 07:17:38 -0800	[thread overview]
Message-ID: <xmqqh5h5aqjx.fsf@gitster.g> (raw)
In-Reply-To: <a50bc32d0bebc7d5f7a8969e412ebd9d197370b6.1795556940.git.gitgitgadget@gmail.com> ("Jean-Noël Avila via GitGitGadget"'s message of "Tue, 24 Nov 2026 21:48:59 +0000")

"Jean-Noël Avila via GitGitGadget" <gitgitgadget@gmail.com> writes:

> From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= <jn.avila@free.fr>
>
>  * convert synopsis section
>  * convert options to `` style
>  * convert _<placeholder>_ style
>
> Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
> ---

The intentions are stated very clearly, which is good.


> ---import-marks-if-exists=<file>::
> -	Like --import-marks but instead of erroring out, silently
> +`--import-marks-if-exists=<file>`::
> +	Load marks like `--import-marks` but, instead of erroring out, silently
>  	skips the file if it does not exist.

Similar to the "Fetch ... rebases" we saw earlier in [1/4], "Load
... but ... skips" mixes the imperative mood with the third-person
singular; "silently skip" would match "Load".

> -where `<count>` is the exact number of bytes appearing within
> -`<raw>`.  The value of `<count>` is expressed as an ASCII decimal
> -integer.  The `LF` on either side of `<raw>` is not
> +where _<count>_ is the exact number of bytes appearing within
> +_<raw>_.  The value of _<count>_ is expressed as an ASCII decimal
> +integer.  The `LF` on either side of _<raw>_ is not
>  included in `<count>` and will not be included in the imported data.

Shouldn't the last `<count>` also be _<count>_?  Similarly, don't
placeholders like `<idnum>`, `<object-identifier>`, `<time>`,
`<offutc>`, and `<tz>` elsewhere in this file want to use the
_<placeholder>_ form, instead of the `<placeholder>` form?


> -import-marks::
> -import-marks-if-exists::
> -	Like --import-marks except in two respects: first, only one
> -	"feature import-marks" or "feature import-marks-if-exists"
> +
> +`import-marks`::
> +`import-marks-if-exists`::
> +	Use the corresponding marks option with two differences: first, only one
> +  `feature import-marks` or `feature import-marks-if-exists`
>  	command is allowed per stream; second, an --import-marks=

Here --import-marks= missed backticks, and a few lines in this
description switched from a leading tab to two spaces.

> -	or --import-marks-if-exists command-line option overrides
> -	any of these "feature" commands in the stream; third,
> -	"feature import-marks-if-exists" like a corresponding
> +  or the `--import-marks-if-exists` command-line option overrides
> +  any of these `feature` commands in the stream; third,
> +  `feature import-marks-if-exists` like a corresponding
>  	command-line option silently skips a nonexistent file.

Thanks.

  reply	other threads:[~2026-11-25 15:17 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
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 [this message]
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=xmqqh5h5aqjx.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