From: Jean-Noël Avila Date: Wed, 19 Nov 2025 21:40:03 +0000 (+0000) Subject: doc: convert git pull to synopsis style X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c80a5ebce0e6afe3f9d3f5047f3de524386c40bb;p=thirdparty%2Fgit.git doc: convert git pull to synopsis style - Switch the synopsis to a synopsis block which will automatically format placeholders in italics and keywords in monospace - Use __ instead of in the description - Use `backticks` for keywords and more complex option descriptions. The new rendering engine will apply synopsis rules to these spans. Signed-off-by: Jean-Noël Avila Signed-off-by: Junio C Hamano --- diff --git a/Documentation/fetch-options.adoc b/Documentation/fetch-options.adoc index 35a84a1ef2..fcba46ee9e 100644 --- a/Documentation/fetch-options.adoc +++ b/Documentation/fetch-options.adoc @@ -71,7 +71,7 @@ configuration variables documented in linkgit:git-config[1], and the `--negotiate-only`:: Do not fetch anything from the server, and instead print the - ancestors of the provided `--negotiation-tip=*` arguments, + ancestors of the provided `--negotiation-tip=` arguments, which we have in common with the server. + This is incompatible with `--recurse-submodules=(yes|on-demand)`. @@ -126,7 +126,7 @@ ifndef::git-pull[] `--auto-gc`:: `--no-auto-gc`:: Run `git maintenance run --auto` at the end to perform automatic - repository maintenance if needed. (`--[no-]auto-gc` is a synonym.) + repository maintenance if needed. This is enabled by default. `--write-commit-graph`:: @@ -193,7 +193,7 @@ endif::git-pull[] specified refspec (can be given more than once) to map the refs to remote-tracking branches, instead of the values of `remote..fetch` configuration variables for the remote - repository. Providing an empty `` to the + repository. Providing an empty __ to the `--refmap` option causes Git to ignore the configured refspecs and rely entirely on the refspecs supplied as command-line arguments. See section on "Configured Remote-tracking @@ -204,7 +204,7 @@ endif::git-pull[] Fetch all tags from the remote (i.e., fetch remote tags `refs/tags/*` into local tags with the same name), in addition to whatever else would otherwise be fetched. Using this - option alone does not subject tags to pruning, even if --prune + option alone does not subject tags to pruning, even if `--prune` is used (though tags may be pruned anyway if they are also the destination of an explicit refspec; see `--prune`). @@ -306,7 +306,7 @@ endif::git-pull[] `-o