mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
doc: clarify server behavior for invalid 'want' lines in HTTP protocol
Update the documentation to clearly describe how the server responds when a client sends an invalid or malformed `want` line during the HTTP protocol exchange. The server includes the offending object name in its error message. Signed-off-by: Queen Ediri Jessa <qjessa662@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
7f278e958a
commit
46207a54cc
@@ -443,7 +443,8 @@ If no "want" objects are received, send an error:
|
||||
TODO: Define error if no "want" lines are requested.
|
||||
|
||||
If any "want" object is not reachable, send an error:
|
||||
TODO: Define error if an invalid "want" is requested.
|
||||
When a Git server receives an invalid or malformed `want` line, it
|
||||
responds with an error message that includes the offending object name.
|
||||
|
||||
Create an empty list, `s_common`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user