Skip to content

Commit fb488f5

Browse files
committed
Merge branch 'qj/doc-http-bad-want-response' into seen
* qj/doc-http-bad-want-response: doc: clarify server behavior for invalid 'want' lines in HTTP protocol
2 parents 4063fa9 + 9229c2e commit fb488f5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Documentation/gitprotocol-http.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,10 @@ If no "want" objects are received, send an error:
443443
TODO: Define error if no "want" lines are requested.
444444
445445
If any "want" object is not reachable, send an error:
446-
TODO: Define error if an invalid "want" is requested.
446+
When a Git server receives an invalid or malformed `want` line, it
447+
responds with an error message that includes the offending object name.
448+
This clarifies the expected behavior for Git implementations and helps
449+
clients detect protocol issues accurately during fetch operations.
447450
448451
Create an empty list, `s_common`.
449452

0 commit comments

Comments
 (0)