@@ -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
@@ -15,26 +14,26 @@ compatObjectFormat::
15
14
compatObjectFormat in addition to oids encoded with objectFormat to
16
15
locally specify objects.
17
16
18
- noop::
17
+ noop:::
19
18
This extension does not change git's behavior at all. It is useful only
20
19
for testing format-1 compatibility.
21
20
+
22
21
For historical reasons, this extension is respected regardless of the
23
22
`core.repositoryFormatVersion` setting.
24
23
25
- noop-v1::
24
+ noop-v1:::
26
25
This extension does not change git's behavior at all. It is useful only
27
26
for testing format-1 compatibility.
28
27
29
- objectFormat::
28
+ objectFormat:::
30
29
Specify the hash algorithm to use. The acceptable values are `sha1` and
31
30
`sha256`. If not specified, `sha1` is assumed.
32
31
+
33
32
Note that this setting should only be set by linkgit:git-init[1] or
34
33
linkgit:git-clone[1]. Trying to change it after initialization will not
35
34
work and will produce hard-to-diagnose issues.
36
35
37
- partialClone::
36
+ partialClone:::
38
37
When enabled, indicates that the repo was created with a partial clone
39
38
(or later performed a partial fetch) and that the remote may have
40
39
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.
46
45
For historical reasons, this extension is respected regardless of the
47
46
`core.repositoryFormatVersion` setting.
48
47
49
- preciousObjects::
48
+ preciousObjects:::
50
49
If enabled, indicates that objects in the repository MUST NOT be deleted
51
50
(e.g., by `git-prune` or `git repack -d`).
52
51
+
53
52
For historical reasons, this extension is respected regardless of the
54
53
`core.repositoryFormatVersion` setting.
55
54
56
- refStorage::
55
+ refStorage:::
57
56
Specify the ref storage format to use. The acceptable values are:
58
57
+
59
58
include::../ref-storage-format.adoc[]
@@ -63,13 +62,13 @@ Note that this setting should only be set by linkgit:git-init[1] or
63
62
linkgit:git-clone[1]. Trying to change it after initialization will not
64
63
work and will produce hard-to-diagnose issues.
65
64
66
- relativeWorktrees::
65
+ relativeWorktrees:::
67
66
If enabled, indicates at least one worktree has been linked with
68
67
relative paths. Automatically set if a worktree has been created or
69
68
repaired with either the `--relative-paths` option or with the
70
69
`worktree.useRelativePaths` config set to `true`.
71
70
72
- worktreeConfig::
71
+ worktreeConfig:::
73
72
If enabled, then worktrees will load config settings from the
74
73
`$GIT_DIR/config.worktree` file in addition to the
75
74
`$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
83
82
certain values from the common config file to the main working tree's
84
83
`config.worktree` file, if present:
85
84
+
85
+ --
86
86
* `core.worktree` must be moved from `$GIT_COMMON_DIR/config` to
87
87
`$GIT_COMMON_DIR/config.worktree`.
88
88
* If `core.bare` is true, then it must be moved from `$GIT_COMMON_DIR/config`
89
89
to `$GIT_COMMON_DIR/config.worktree`.
90
-
90
+ --
91
91
+
92
92
It may also be beneficial to adjust the locations of `core.sparseCheckout`
93
93
and `core.sparseCheckoutCone` depending on your desire for customizable
@@ -100,4 +100,3 @@ details.
100
100
+
101
101
For historical reasons, this extension is respected regardless of the
102
102
`core.repositoryFormatVersion` setting.
103
- --
0 commit comments