diff options
| author | Queen Ediri Jessa <qjessa662@gmail.com> | 2025-11-05 15:38:49 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-06 09:45:38 -0800 |
| commit | 46207a54cca1402532f6e658503a9f6b7ad36fb8 (patch) | |
| tree | b0a43751db41cc943e1e8df79b749aa2859d666c | |
| parent | 7f278e958afbf9b7e0727631b4c26dcfa1c63d6e (diff) | |
| download | git-46207a54cca1402532f6e658503a9f6b7ad36fb8.tar.gz | |
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>
| -rw-r--r-- | Documentation/gitprotocol-http.adoc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/gitprotocol-http.adoc b/Documentation/gitprotocol-http.adoc index d024010414..e2ef7f0459 100644 --- a/Documentation/gitprotocol-http.adoc +++ b/Documentation/gitprotocol-http.adoc @@ -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`. |
