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 4/4] doc: convert git-fast-export.adoc to synopsis style
Date: Tue, 24 Nov 2026 21:07:07 -0800	[thread overview]
Message-ID: <xmqqbj7dcxdw.fsf@gitster.g> (raw)
In-Reply-To: <814dfdddf691445cc2d982854cd4e7ddcfbd8875.1795556940.git.gitgitgadget@gmail.com> ("Jean-Noël Avila via GitGitGadget"'s message of "Tue, 24 Nov 2026 21:49:00 +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
>  * convert inline list of values to sub definition lists
>
> Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
> ---
>  Documentation/git-fast-export.adoc | 193 +++++++++++++++--------------
>  1 file changed, 98 insertions(+), 95 deletions(-)

> +[synopsis]
>  gpgsig <git-hash-algo> <signature-format>

Using [synopsis] on the gpgsig <git-hash-algo> <signature-format> line
looks very clean.

> ---mark-tags::
> -	In addition to labelling blobs and commits with mark ids, also
> -	label tags.  This is useful in conjunction with
> +`--mark-tags`::
> +	Label tags  with mark ids in addition of blobs and commits.
> +	This is useful in conjunction with

Two typos crept into the rewritten sentence: a double space (which,
admittedly, is harmless, but some of us do read the source) after
"tags", and "in addition of" instead of "in addition to".

> +`--reference-excluded-parents`::
> +	Have the stream refer to commits in the excluded range of history by their SHA-1 object
> +	name instead of rewriting their parent references. By default, running
> +	a command such as `git fast-export master~5..master` will not include the
> +	commit `master~5`
> +	and will make `master~4` no longer have `master~5` as
> +	a parent (though both the old `master~4` and new
> +	`master~4` will have all the same files). Note that the resulting stream
> +	can only be used by a repository which 	  already contains the necessary parent

There is a stray tab between "which" and "already" here (which,
admittedly is harmless when rendered, but some of us do read the
source).

> ---reencode=(yes|no|abort)::
> +`--reencode=(yes|no|abort)`::
>  	Specify how to handle `encoding` header in commit objects.  When
> -	asking to 'abort' (which is the default), this program will die
> -	when encountering such a commit object.  With 'yes', the commit
> -	message will be re-encoded into UTF-8.  With 'no', the original
> -	encoding will be preserved.
> +	asking to one of the following values:

"When asking to one of the following values:" reads like an incomplete
edit of "When asking to 'abort'...".  Replacing it with "The possible
values are:" or ending the first sentence with a colon ("Specify how to
handle the `encoding` header in commit objects:") would read more
cleanly, perhaps?

> ++
> +`abort`;; Die when encountering a commit object with an `encoding` header.
> +This is the default.
> +`yes`;; Re-encode the commit message into UTF-8.
> +`no`;; Preserve the original encoding.

> -[<git-rev-list-args>...]::
> +`<git-rev-list-args>...`::
>  	A list of arguments, acceptable to 'git rev-parse' and
>  	'git rev-list', that specifies the specific objects and references
>  	to export.  For example, `master~10..master` causes the

Shouldn't 'git rev-parse' and 'git rev-list' here be converted to
backticks e.g., `git rev-parse`, too?

Thanks.


      reply	other threads:[~2026-11-25  5:07 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
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 [this message]

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=xmqqbj7dcxdw.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