Skip to content

Commit 7f46e7e

Browse files
bk2204gitster
authored andcommitted
Documentation/technical: document object-format for protocol v2
Document the object-format extension for protocol v2. Signed-off-by: brian m. carlson <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 059d806 commit 7f46e7e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Documentation/technical/protocol-v2.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,3 +453,12 @@ included in a request. This is done by sending each option as a
453453
a request.
454454

455455
The provided options must not contain a NUL or LF character.
456+
457+
object-format
458+
~~~~~~~~~~~~~~~
459+
460+
The server can advertise the `object-format` capability with a value `X` (in the
461+
form `object-format=X`) to notify the client that the server is able to deal
462+
with objects using hash algorithm X. If not specified, the server is assumed to
463+
only handle SHA-1. If the client would like to use a hash algorithm other than
464+
SHA-1, it should specify its object-format string.

0 commit comments

Comments
 (0)