@@ -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
@@ -15,26 +14,26 @@ compatObjectFormat::
1514 compatObjectFormat in addition to oids encoded with objectFormat to
1615 locally specify objects.
1716
18- noop::
17+ noop:::
1918 This extension does not change git's behavior at all. It is useful only
2019 for testing format-1 compatibility.
2120+
2221For historical reasons, this extension is respected regardless of the
2322`core.repositoryFormatVersion` setting.
2423
25- noop-v1::
24+ noop-v1:::
2625 This extension does not change git's behavior at all. It is useful only
2726 for testing format-1 compatibility.
2827
29- objectFormat::
28+ objectFormat:::
3029 Specify the hash algorithm to use. The acceptable values are `sha1` and
3130 `sha256`. If not specified, `sha1` is assumed.
3231+
3332Note that this setting should only be set by linkgit:git-init[1] or
3433linkgit:git-clone[1]. Trying to change it after initialization will not
3534work and will produce hard-to-diagnose issues.
3635
37- partialClone::
36+ partialClone:::
3837 When enabled, indicates that the repo was created with a partial clone
3938 (or later performed a partial fetch) and that the remote may have
4039 omitted sending certain unwanted objects. Such a remote is called a
@@ -46,14 +45,14 @@ The value of this key is the name of the promisor remote.
4645For historical reasons, this extension is respected regardless of the
4746`core.repositoryFormatVersion` setting.
4847
49- preciousObjects::
48+ preciousObjects:::
5049 If enabled, indicates that objects in the repository MUST NOT be deleted
5150 (e.g., by `git-prune` or `git repack -d`).
5251+
5352For historical reasons, this extension is respected regardless of the
5453`core.repositoryFormatVersion` setting.
5554
56- refStorage::
55+ refStorage:::
5756 Specify the ref storage format to use. The acceptable values are:
5857+
5958include::../ref-storage-format.adoc[]
@@ -63,13 +62,13 @@ Note that this setting should only be set by linkgit:git-init[1] or
6362linkgit:git-clone[1]. Trying to change it after initialization will not
6463work and will produce hard-to-diagnose issues.
6564
66- relativeWorktrees::
65+ relativeWorktrees:::
6766 If enabled, indicates at least one worktree has been linked with
6867 relative paths. Automatically set if a worktree has been created or
6968 repaired with either the `--relative-paths` option or with the
7069 `worktree.useRelativePaths` config set to `true`.
7170
72- worktreeConfig::
71+ worktreeConfig:::
7372 If enabled, then worktrees will load config settings from the
7473 `$GIT_DIR/config.worktree` file in addition to the
7574 `$GIT_COMMON_DIR/config` file. Note that `$GIT_COMMON_DIR` and
@@ -83,11 +82,12 @@ When enabling this extension, you must be careful to move
8382certain values from the common config file to the main working tree's
8483`config.worktree` file, if present:
8584+
85+ --
8686* `core.worktree` must be moved from `$GIT_COMMON_DIR/config` to
8787 `$GIT_COMMON_DIR/config.worktree`.
8888* If `core.bare` is true, then it must be moved from `$GIT_COMMON_DIR/config`
8989 to `$GIT_COMMON_DIR/config.worktree`.
90-
90+ --
9191+
9292It may also be beneficial to adjust the locations of `core.sparseCheckout`
9393and `core.sparseCheckoutCone` depending on your desire for customizable
@@ -100,4 +100,3 @@ details.
100100+
101101For historical reasons, this extension is respected regardless of the
102102`core.repositoryFormatVersion` setting.
103- --
0 commit comments