Documentation: document v1 protocol object-format capability
Document a capability that indicates which hash algorithms are in use by both sides of a remote connection. Use the term "object-format", since this is the term used for the repository extension as well. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
a114296371
commit
b8615c3c63
@ -176,6 +176,21 @@ agent strings are purely informative for statistics and debugging
|
||||
purposes, and MUST NOT be used to programmatically assume the presence
|
||||
or absence of particular features.
|
||||
|
||||
object-format
|
||||
-------------
|
||||
|
||||
This capability, which takes a hash algorithm as an argument, indicates
|
||||
that the server supports the given hash algorithms. It may be sent
|
||||
multiple times; if so, the first one given is the one used in the ref
|
||||
advertisement.
|
||||
|
||||
When provided by the client, this indicates that it intends to use the
|
||||
given hash algorithm to communicate. The algorithm provided must be one
|
||||
that the server supports.
|
||||
|
||||
If this capability is not provided, it is assumed that the only
|
||||
supported algorithm is SHA-1.
|
||||
|
||||
symref
|
||||
------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user