@@ -3,8 +3,7 @@ extensions.*::
3
3
`core.repositoryFormatVersion` is not `1`. See
4
4
linkgit:gitrepository-layout[5].
5
5
+
6
- --
7
- compatObjectFormat::
6
+ compatObjectFormat:::
8
7
Specify a compatibility hash algorithm to use. The acceptable values
9
8
are `sha1` and `sha256`. The value specified must be different from the
10
9
value of `extensions.objectFormat`. This allows client level
@@ -19,26 +18,26 @@ Note that the functionality enabled by this extension is incomplete and subject
19
18
to change. It currently exists only to allow development and testing of
20
19
the underlying feature and is not designed to be enabled by end users.
21
20
22
- noop::
21
+ noop:::
23
22
This extension does not change git's behavior at all. It is useful only
24
23
for testing format-1 compatibility.
25
24
+
26
25
For historical reasons, this extension is respected regardless of the
27
26
`core.repositoryFormatVersion` setting.
28
27
29
- noop-v1::
28
+ noop-v1:::
30
29
This extension does not change git's behavior at all. It is useful only
31
30
for testing format-1 compatibility.
32
31
33
- objectFormat::
32
+ objectFormat:::
34
33
Specify the hash algorithm to use. The acceptable values are `sha1` and
35
34
`sha256`. If not specified, `sha1` is assumed.
36
35
+
37
36
Note that this setting should only be set by linkgit:git-init[1] or
38
37
linkgit:git-clone[1]. Trying to change it after initialization will not
39
38
work and will produce hard-to-diagnose issues.
40
39
41
- partialClone::
40
+ partialClone:::
42
41
When enabled, indicates that the repo was created with a partial clone
43
42
(or later performed a partial fetch) and that the remote may have
44
43
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.
50
49
For historical reasons, this extension is respected regardless of the
51
50
`core.repositoryFormatVersion` setting.
52
51
53
- preciousObjects::
52
+ preciousObjects:::
54
53
If enabled, indicates that objects in the repository MUST NOT be deleted
55
54
(e.g., by `git-prune` or `git repack -d`).
56
55
+
57
56
For historical reasons, this extension is respected regardless of the
58
57
`core.repositoryFormatVersion` setting.
59
58
60
- refStorage::
59
+ refStorage:::
61
60
Specify the ref storage format to use. The acceptable values are:
62
61
+
63
62
include::../ref-storage-format.adoc[]
@@ -67,13 +66,13 @@ Note that this setting should only be set by linkgit:git-init[1] or
67
66
linkgit:git-clone[1]. Trying to change it after initialization will not
68
67
work and will produce hard-to-diagnose issues.
69
68
70
- relativeWorktrees::
69
+ relativeWorktrees:::
71
70
If enabled, indicates at least one worktree has been linked with
72
71
relative paths. Automatically set if a worktree has been created or
73
72
repaired with either the `--relative-paths` option or with the
74
73
`worktree.useRelativePaths` config set to `true`.
75
74
76
- worktreeConfig::
75
+ worktreeConfig:::
77
76
If enabled, then worktrees will load config settings from the
78
77
`$GIT_DIR/config.worktree` file in addition to the
79
78
`$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
87
86
certain values from the common config file to the main working tree's
88
87
`config.worktree` file, if present:
89
88
+
89
+ --
90
90
* `core.worktree` must be moved from `$GIT_COMMON_DIR/config` to
91
91
`$GIT_COMMON_DIR/config.worktree`.
92
92
* If `core.bare` is true, then it must be moved from `$GIT_COMMON_DIR/config`
93
93
to `$GIT_COMMON_DIR/config.worktree`.
94
-
94
+ --
95
95
+
96
96
It may also be beneficial to adjust the locations of `core.sparseCheckout`
97
97
and `core.sparseCheckoutCone` depending on your desire for customizable
@@ -104,4 +104,3 @@ details.
104
104
+
105
105
For historical reasons, this extension is respected regardless of the
106
106
`core.repositoryFormatVersion` setting.
107
- --
0 commit comments