diff options
author | Martin Ågren <martin.agren@gmail.com> | 2020-08-15 16:06:01 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-17 17:35:12 (GMT) |
commit | 0756e61078b32686dc995df768e50725aba13b7e (patch) | |
tree | 12330253c7666fb9e600f6d9fdeaca0a31b63820 /Documentation/technical | |
parent | 123712ba41164146cd711dab6fe107b62d443f12 (diff) | |
download | git-0756e61078b32686dc995df768e50725aba13b7e.zip git-0756e61078b32686dc995df768e50725aba13b7e.tar.gz git-0756e61078b32686dc995df768e50725aba13b7e.tar.bz2 |
protocol-capabilities.txt: clarify "allow-x-sha1-in-want" re SHA-256
Two of our capabilities contain "sha1" in their names, but that's
historical. Clarify that object names are still to be given using
whatever object format has been negotiated using the "object-format"
capability.
Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
-rw-r--r-- | Documentation/technical/protocol-capabilities.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/technical/protocol-capabilities.txt b/Documentation/technical/protocol-capabilities.txt index 36ccd14..124d716 100644 --- a/Documentation/technical/protocol-capabilities.txt +++ b/Documentation/technical/protocol-capabilities.txt @@ -324,15 +324,19 @@ allow-tip-sha1-in-want ---------------------- If the upload-pack server advertises this capability, fetch-pack may -send "want" lines with SHA-1s that exist at the server but are not -advertised by upload-pack. +send "want" lines with object names that exist at the server but are not +advertised by upload-pack. For historical reasons, the name of this +capability contains "sha1". Object names are always given using the +object format negotiated through the 'object-format' capability. allow-reachable-sha1-in-want ---------------------------- If the upload-pack server advertises this capability, fetch-pack may -send "want" lines with SHA-1s that exist at the server but are not -advertised by upload-pack. +send "want" lines with object names that exist at the server but are not +advertised by upload-pack. For historical reasons, the name of this +capability contains "sha1". Object names are always given using the +object format negotiated through the 'object-format' capability. push-cert=<nonce> ----------------- |