about summary refs log tree commit diff
path: root/third_party/git/Documentation/config/extensions.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/Documentation/config/extensions.txt')
-rw-r--r--third_party/git/Documentation/config/extensions.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/git/Documentation/config/extensions.txt b/third_party/git/Documentation/config/extensions.txt
new file mode 100644
index 0000000000..4e23d73cdc
--- /dev/null
+++ b/third_party/git/Documentation/config/extensions.txt
@@ -0,0 +1,8 @@
+extensions.objectFormat::
+	Specify the hash algorithm to use.  The acceptable values are `sha1` and
+	`sha256`.  If not specified, `sha1` is assumed.  It is an error to specify
+	this key unless `core.repositoryFormatVersion` is 1.
++
+Note that this setting should only be set by linkgit:git-init[1] or
+linkgit:git-clone[1].  Trying to change it after initialization will not
+work and will produce hard-to-diagnose issues.