]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/technical/protocol-v2.txt
Merge branch 'bc/sha-256-part-2'
[thirdparty/git.git] / Documentation / technical / protocol-v2.txt
index 5852f499a64f831ab8fb9dce6681db44606e958c..e597b74da39d82b4b6bff621dda10b27d72da5d0 100644 (file)
@@ -483,3 +483,12 @@ included in a request.  This is done by sending each option as a
 a request.
 
 The provided options must not contain a NUL or LF character.
+
+ object-format
+~~~~~~~~~~~~~~~
+
+The server can advertise the `object-format` capability with a value `X` (in the
+form `object-format=X`) to notify the client that the server is able to deal
+with objects using hash algorithm X.  If not specified, the server is assumed to
+only handle SHA-1.  If the client would like to use a hash algorithm other than
+SHA-1, it should specify its object-format string.