Skip to content

Commit 4feb562

Browse files
bk2204gitster
authored andcommitted
docs: add documentation for extensions.objectFormat
Document the extensions.objectFormat config setting. Warn users not to modify it themselves. Signed-off-by: brian m. carlson <[email protected]> Reviewed-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8a06d56 commit 4feb562

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Documentation/config.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ include::config/diff.txt[]
348348

349349
include::config/difftool.txt[]
350350

351+
include::config/extensions.txt[]
352+
351353
include::config/fastimport.txt[]
352354

353355
include::config/feature.txt[]

Documentation/config/extensions.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
extensions.objectFormat::
2+
Specify the hash algorithm to use. The acceptable values are `sha1` and
3+
`sha256`. If not specified, `sha1` is assumed. It is an error to specify
4+
this key unless `core.repositoryFormatVersion` is 1.
5+
+
6+
Note that this setting should only be set by linkgit:git-init[1] or
7+
linkgit:git-clone[1]. Trying to change it after initialization will not
8+
work and will produce hard-to-diagnose issues.

0 commit comments

Comments
 (0)