Skip to content

Commit a91ca5d

Browse files
committed
Merge branch 'ja/doc-markup-attached-paragraph-fix' into next
Documentation mark-up fix. * ja/doc-markup-attached-paragraph-fix: doc: change the markup of paragraphs following a nested list item
2 parents 90f1033 + 5a12fd2 commit a91ca5d

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

Documentation/config/extensions.adoc

Lines changed: 11 additions & 12 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,14 +49,14 @@ 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
+
6362
include::../ref-storage-format.adoc[]
@@ -67,13 +66,13 @@ Note that this setting should only be set by linkgit:git-init[1] or
6766
linkgit:git-clone[1]. Trying to change it after initialization will not
6867
work and will produce hard-to-diagnose issues.
6968
70-
relativeWorktrees::
69+
relativeWorktrees:::
7170
If enabled, indicates at least one worktree has been linked with
7271
relative paths. Automatically set if a worktree has been created or
7372
repaired with either the `--relative-paths` option or with the
7473
`worktree.useRelativePaths` config set to `true`.
7574
76-
worktreeConfig::
75+
worktreeConfig:::
7776
If enabled, then worktrees will load config settings from the
7877
`$GIT_DIR/config.worktree` file in addition to the
7978
`$GIT_COMMON_DIR/config` file. Note that `$GIT_COMMON_DIR` and
@@ -87,11 +86,12 @@ When enabling this extension, you must be careful to move
8786
certain values from the common config file to the main working tree's
8887
`config.worktree` file, if present:
8988
+
89+
--
9090
* `core.worktree` must be moved from `$GIT_COMMON_DIR/config` to
9191
`$GIT_COMMON_DIR/config.worktree`.
9292
* If `core.bare` is true, then it must be moved from `$GIT_COMMON_DIR/config`
9393
to `$GIT_COMMON_DIR/config.worktree`.
94-
94+
--
9595
+
9696
It may also be beneficial to adjust the locations of `core.sparseCheckout`
9797
and `core.sparseCheckoutCone` depending on your desire for customizable
@@ -104,4 +104,3 @@ details.
104104
+
105105
For historical reasons, this extension is respected regardless of the
106106
`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)