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 <sandals@crustytoothpaste.net> Reviewed-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
brian m. carlson committed
Jul 29, 2020 at 23:14 UTC
4feb562fc93184b427413b077301c99e71af5a75
2 files changed
+10
Documentation/config.txt
+2
@@ -348,6 +348,8 @@ include::config/diff.txt[]
348
349
include::config/difftool.txt[]
350
351
+include::config/extensions.txt[]
352
+
353
include::config/fastimport.txt[]
354
355
include::config/feature.txt[]
Documentation/config/extensions.txt
new
+8
@@ -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.