aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-11-08 10:05:37 -0800
committerJunio C Hamano <gitster@pobox.com>2025-11-08 10:05:37 -0800
commit118d083586fa6af4a800572bd93664032ed3ba04 (patch)
tree24a8b3234305b62f64ae6308bfb39a7a581b85a0
parentMerge branch 'kn/maintenance-is-needed' into jch (diff)
parentdoc: clarify server behavior for invalid 'want' lines in HTTP protocol (diff)
downloadgit-118d083586fa6af4a800572bd93664032ed3ba04.tar.gz
git-118d083586fa6af4a800572bd93664032ed3ba04.zip
Merge branch 'qj/doc-http-bad-want-response' into jch
Doc update. * qj/doc-http-bad-want-response: doc: clarify server behavior for invalid 'want' lines in HTTP protocol
-rw-r--r--Documentation/gitprotocol-http.adoc3
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`.