diff options
author | Nguyen Thai Ngoc Duy <pclouds@gmail.com> | 2011-10-04 05:13:38 +1100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-03 14:57:36 -0700 |
commit | d78e5aecf931967bbaa4a8601cd40a5359e80e24 (patch) | |
tree | 79075783edf2dd0a6bebaad41d3ddbd88a0ac6f3 | |
parent | 4a1c26951610fa1d2b9f8d9f7c85979bed856c94 (diff) | |
download | git-d78e5aecf931967bbaa4a8601cd40a5359e80e24.tar.gz git-d78e5aecf931967bbaa4a8601cd40a5359e80e24.tar.xz |
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>
-rw-r--r-- | Documentation/technical/pack-protocol.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/technical/pack-protocol.txt b/Documentation/technical/pack-protocol.txt index a7004c63e..546980c0a 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 ------------- |