summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a1c269)
raw | patch | inline | side by side (parent: 4a1c269)
author | Nguyen Thai Ngoc Duy <pclouds@gmail.com> | |
Mon, 3 Oct 2011 18:13:38 +0000 (05:13 +1100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 3 Oct 2011 21:57:36 +0000 (14:57 -0700) |
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>
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>
Documentation/technical/pack-protocol.txt | patch | blob | history |
index a7004c63e7ff5a4fe237267121a5b7c76a4c5496..546980c0a41ce9ba6d09ad5038b4412b7ef42cc7 100644 (file)
"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
-------------