Skip to content

Commit

Permalink
pack-protocol: document "ERR" line
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nguyen Thai Ngoc Duy authored and Junio C Hamano committed Oct 3, 2011
1 parent 4a1c269 commit d78e5ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/technical/pack-protocol.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------
Expand Down

0 comments on commit d78e5ae

Please sign in to comment.