{"thread":{"id":"64445","subject":"[PATCH v4] doc: clarify server behavior for invalid 'want' lines in HTTP protocol","startedAt":"2025-11-05T14:38:59Z","lastAt":"2025-11-06T17:46:15Z","messageCount":2,"participants":["Queen Ediri Jessa","Junio C Hamano"],"isPatch":true,"patchVersion":4,"patchTotal":null},"messages":[{"id":"530249","messageId":"20251105143849.1192-1-qjessa662@gmail.com","threadId":"64445","inReplyTo":null,"subject":"[PATCH v4] doc: clarify server behavior for invalid 'want' lines in HTTP protocol","fromName":"Queen Ediri Jessa","fromEmail":"qjessa662@gmail.com","sentAt":"2025-11-05T14:38:49Z","receivedAt":"2025-11-05T14:38:59Z","isPatch":true,"sender":{"key":"qjessa662@gmail.com","avatar":"https://avatars.githubusercontent.com/u/233464585?v=4"},"body":"Update the documentation to clearly describe how the server responds when a\nclient sends an invalid or malformed `want` line during the HTTP protocol\nexchange. The server includes the offending object name in its error message.\n\nSigned-off-by: Queen Ediri Jessa <qjessa662@gmail.com>\n---\nChanges since v3:\n- Removed extra explanatory lines per reviewer feedback.\n\n Documentation/gitprotocol-http.adoc | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)\n\ndiff --git a/Documentation/gitprotocol-http.adoc b/Documentation/gitprotocol-http.adoc\nindex d024010414..e2ef7f0459 100644\n--- a/Documentation/gitprotocol-http.adoc\n+++ b/Documentation/gitprotocol-http.adoc\n@@ -443,7 +443,8 @@ If no \"want\" objects are received, send an error:\n TODO: Define error if no \"want\" lines are requested.\n \n If any \"want\" object is not reachable, send an error:\n-TODO: Define error if an invalid \"want\" is requested.\n+When a Git server receives an invalid or malformed `want` line, it\n+responds with an error message that includes the offending object name.\n \n Create an empty list, `s_common`.\n \n-- \n2.51.0.573.gb660e2dcb9\n\n"},{"id":"530329","messageId":"xmqqikfnhx5n.fsf@gitster.g","threadId":"64445","inReplyTo":"20251105143849.1192-1-qjessa662@gmail.com","subject":"Re: [PATCH v4] doc: clarify server behavior for invalid 'want' lines in HTTP protocol","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2025-11-06T17:46:12Z","receivedAt":"2025-11-06T17:46:15Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Queen Ediri Jessa <qjessa662@gmail.com> writes:\n\n> Update the documentation to clearly describe how the server responds when a\n> client sends an invalid or malformed `want` line during the HTTP protocol\n> exchange. The server includes the offending object name in its error message.\n>\n> Signed-off-by: Queen Ediri Jessa <qjessa662@gmail.com>\n> ---\n> Changes since v3:\n> - Removed extra explanatory lines per reviewer feedback.\n>\n>  Documentation/gitprotocol-http.adoc | 3 ++-\n>  1 file changed, 2 insertions(+), 1 deletion(-)\n\nThanks, will queue.\n"}]}