summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorNguyen Thai Ngoc Duy <pclouds@gmail.com>2011-10-03 18:13:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-10-03 21:57:36 (GMT)
commitd78e5aecf931967bbaa4a8601cd40a5359e80e24 (patch)
tree79075783edf2dd0a6bebaad41d3ddbd88a0ac6f3 /Documentation
parent4a1c26951610fa1d2b9f8d9f7c85979bed856c94 (diff)
downloadgit-d78e5aecf931967bbaa4a8601cd40a5359e80e24.zip
git-d78e5aecf931967bbaa4a8601cd40a5359e80e24.tar.gz
git-d78e5aecf931967bbaa4a8601cd40a5359e80e24.tar.bz2
pack-protocol: document "ERR" line
Since a807328 (connect.c: add a way for git-daemon to pass an error back to client), git client recognizes "ERR" line and prints a friendly message to user if an error happens at server side. Document this. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/technical/pack-protocol.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/technical/pack-protocol.txt b/Documentation/technical/pack-protocol.txt
index a7004c6..546980c 100644
--- a/Documentation/technical/pack-protocol.txt
+++ b/Documentation/technical/pack-protocol.txt
@@ -60,6 +60,13 @@ process on the server side over the Git protocol is this:
"0039git-upload-pack /schacon/gitbook.git\0host=example.com\0" |
nc -v example.com 9418
+If the server refuses the request for some reasons, it could abort
+gracefully with an error message.
+
+----
+ error-line = PKT-LINE("ERR" SP explanation-text)
+----
+
SSH Transport
-------------