Skip to content

Commit 554e474

Browse files
committed
Merge branch 'ja/doc-markup-attached-paragraph-fix' into maint-2.51
Documentation mark-up fix. * ja/doc-markup-attached-paragraph-fix: doc: fix indentation of refStorage item in git-config(1) doc: change the markup of paragraphs following a nested list item
2 parents 92043e9 + 84a6bf7 commit 554e474

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

Documentation/config/extensions.adoc

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ extensions.*::
33
`core.repositoryFormatVersion` is not `1`. See
44
linkgit:gitrepository-layout[5].
55
+
6-
--
7-
compatObjectFormat::
6+
compatObjectFormat:::
87
Specify a compatibility hash algorithm to use. The acceptable values
98
are `sha1` and `sha256`. The value specified must be different from the
109
value of `extensions.objectFormat`. This allows client level
@@ -19,26 +18,26 @@ Note that the functionality enabled by this extension is incomplete and subject
1918
to change. It currently exists only to allow development and testing of
2019
the underlying feature and is not designed to be enabled by end users.
2120
22-
noop::
21+
noop:::
2322
This extension does not change git's behavior at all. It is useful only
2423
for testing format-1 compatibility.
2524
+
2625
For historical reasons, this extension is respected regardless of the
2726
`core.repositoryFormatVersion` setting.
2827
29-
noop-v1::
28+
noop-v1:::
3029
This extension does not change git's behavior at all. It is useful only
3130
for testing format-1 compatibility.
3231
33-
objectFormat::
32+
objectFormat:::
3433
Specify the hash algorithm to use. The acceptable values are `sha1` and
3534
`sha256`. If not specified, `sha1` is assumed.
3635
+
3736
Note that this setting should only be set by linkgit:git-init[1] or
3837
linkgit:git-clone[1]. Trying to change it after initialization will not
3938
work and will produce hard-to-diagnose issues.
4039
41-
partialClone::
40+
partialClone:::
4241
When enabled, indicates that the repo was created with a partial clone
4342
(or later performed a partial fetch) and that the remote may have
4443
omitted sending certain unwanted objects. Such a remote is called a
@@ -50,30 +49,31 @@ The value of this key is the name of the promisor remote.
5049
For historical reasons, this extension is respected regardless of the
5150
`core.repositoryFormatVersion` setting.
5251
53-
preciousObjects::
52+
preciousObjects:::
5453
If enabled, indicates that objects in the repository MUST NOT be deleted
5554
(e.g., by `git-prune` or `git repack -d`).
5655
+
5756
For historical reasons, this extension is respected regardless of the
5857
`core.repositoryFormatVersion` setting.
5958
60-
refStorage::
59+
refStorage:::
6160
Specify the ref storage format to use. The acceptable values are:
6261
+
62+
--
6363
include::../ref-storage-format.adoc[]
64-
64+
--
6565
+
6666
Note that this setting should only be set by linkgit:git-init[1] or
6767
linkgit:git-clone[1]. Trying to change it after initialization will not
6868
work and will produce hard-to-diagnose issues.
6969
70-
relativeWorktrees::
70+
relativeWorktrees:::
7171
If enabled, indicates at least one worktree has been linked with
7272
relative paths. Automatically set if a worktree has been created or
7373
repaired with either the `--relative-paths` option or with the
7474
`worktree.useRelativePaths` config set to `true`.
7575
76-
worktreeConfig::
76+
worktreeConfig:::
7777
If enabled, then worktrees will load config settings from the
7878
`$GIT_DIR/config.worktree` file in addition to the
7979
`$GIT_COMMON_DIR/config` file. Note that `$GIT_COMMON_DIR` and
@@ -87,11 +87,12 @@ When enabling this extension, you must be careful to move
8787
certain values from the common config file to the main working tree's
8888
`config.worktree` file, if present:
8989
+
90+
--
9091
* `core.worktree` must be moved from `$GIT_COMMON_DIR/config` to
9192
`$GIT_COMMON_DIR/config.worktree`.
9293
* If `core.bare` is true, then it must be moved from `$GIT_COMMON_DIR/config`
9394
to `$GIT_COMMON_DIR/config.worktree`.
94-
95+
--
9596
+
9697
It may also be beneficial to adjust the locations of `core.sparseCheckout`
9798
and `core.sparseCheckoutCone` depending on your desire for customizable
@@ -104,4 +105,3 @@ details.
104105
+
105106
For historical reasons, this extension is respected regardless of the
106107
`core.repositoryFormatVersion` setting.
107-
--

Documentation/pretty-formats.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ ref names with custom decorations. The `decorate` string may be followed by a
232232
colon and zero or more comma-separated options. Option values may contain
233233
literal formatting codes. These must be used for commas (`%x2C`) and closing
234234
parentheses (`%x29`), due to their role in the option syntax.
235-
+
235+
236236
** `prefix=<value>`: Shown before the list of ref names. Defaults to "{nbsp}++(++".
237237
** `suffix=<value>`: Shown after the list of ref names. Defaults to "+)+".
238238
** `separator=<value>`: Shown between ref names. Defaults to "+,+{nbsp}".
@@ -241,10 +241,12 @@ parentheses (`%x29`), due to their role in the option syntax.
241241
** `tag=<value>`: Shown before tag names. Defaults to "`tag:`{nbsp}".
242242
243243
+
244+
--
244245
For example, to produce decorations with no wrapping
245246
or tag annotations, and spaces as separators:
246-
+
247+
247248
++%(decorate:prefix=,suffix=,tag=,separator= )++
249+
--
248250
249251
++%(describe++`[:<option>,...]`++)++::
250252
human-readable name, like linkgit:git-describe[1]; empty string for

0 commit comments

Comments
 (0)