From: Junio C Hamano Date: Wed, 25 Nov 2026 05:07:07 GMT Subject: Re: [PATCH 4/4] doc: convert git-fast-export.adoc to synopsis style Message-ID: In-Reply-To: <814dfdddf691445cc2d982854cd4e7ddcfbd8875.1795556940.git.gitgitgadget@gmail.com> "Jean-Noël Avila via GitGitGadget" writes: > From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= > > * convert synopsis section > * convert options to `` style > * convert __ style > * convert inline list of values to sub definition lists > > Signed-off-by: Jean-Noël Avila > --- > Documentation/git-fast-export.adoc | 193 +++++++++++++++-------------- > 1 file changed, 98 insertions(+), 95 deletions(-) > +[synopsis] > gpgsig Using [synopsis] on the gpgsig 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. > -[...]:: > +`...`:: > 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.