Git fork

git-{var,write-tree} docs: update mark-up of synopsis option descriptions

To unify mark-up used in our documentation to a newer convention,
started by 22293895 (doc: apply synopsis simplification on git-clone
and git-init, 2024-09-24), update the documentation for 'git var' and
'git write-tree' to

* use [synopsis], not [verse] in the SYNOPSIS section
* enclose `--option=<value>` in backquotes

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Helped-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

+12 -12
+3 -3
Documentation/git-var.adoc
··· 8 8 9 9 SYNOPSIS 10 10 -------- 11 - [verse] 12 - 'git var' (-l | <variable>) 11 + [synopsis] 12 + git var (-l | <variable>) 13 13 14 14 DESCRIPTION 15 15 ----------- ··· 18 18 19 19 OPTIONS 20 20 ------- 21 - -l:: 21 + `-l`:: 22 22 Display the logical variables. In addition, all the 23 23 variables of the Git configuration file .git/config are listed 24 24 as well. (However, the configuration variables listing functionality
+9 -9
Documentation/git-write-tree.adoc
··· 8 8 9 9 SYNOPSIS 10 10 -------- 11 - [verse] 12 - 'git write-tree' [--missing-ok] [--prefix=<prefix>/] 11 + [synopsis] 12 + git write-tree [--missing-ok] [--prefix=<prefix>/] 13 13 14 14 DESCRIPTION 15 15 ----------- ··· 18 18 19 19 The index must be in a fully merged state. 20 20 21 - Conceptually, 'git write-tree' sync()s the current index contents 21 + Conceptually, `git write-tree` sync()s the current index contents 22 22 into a set of tree files. 23 23 In order to have that match what is actually in your directory right 24 - now, you need to have done a 'git update-index' phase before you did the 25 - 'git write-tree'. 24 + now, you need to have done a `git update-index` phase before you did the 25 + `git write-tree`. 26 26 27 27 28 28 OPTIONS 29 29 ------- 30 - --missing-ok:: 31 - Normally 'git write-tree' ensures that the objects referenced by the 30 + `--missing-ok`:: 31 + Normally `git write-tree` ensures that the objects referenced by the 32 32 directory exist in the object database. This option disables this 33 33 check. 34 34 35 - --prefix=<prefix>/:: 35 + `--prefix=<prefix>/`:: 36 36 Writes a tree object that represents a subdirectory 37 - `<prefix>`. This can be used to write the tree object 37 + _<prefix>_. This can be used to write the tree object 38 38 for a subproject that is in the named subdirectory. 39 39 40 40 GIT