@@ -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
1918to change. It currently exists only to allow development and testing of
2019the 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+
2625For 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+
3736Note that this setting should only be set by linkgit:git-init[1] or
3837linkgit:git-clone[1]. Trying to change it after initialization will not
3938work 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.
5049For 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+
5756For 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+ --
6363include::../ref-storage-format.adoc[]
64-
64+ --
6565+
6666Note that this setting should only be set by linkgit:git-init[1] or
6767linkgit:git-clone[1]. Trying to change it after initialization will not
6868work 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
8787certain 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+
9697It may also be beneficial to adjust the locations of `core.sparseCheckout`
9798and `core.sparseCheckoutCone` depending on your desire for customizable
@@ -104,4 +105,3 @@ details.
104105+
105106For historical reasons, this extension is respected regardless of the
106107`core.repositoryFormatVersion` setting.
107- --
0 commit comments