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>

Nguyen Thai Ngoc Duy committed Oct 4, 2011 at 05:13 UTC d78e5aecf931967bbaa4a8601cd40a5359e80e24
1 file changed +7
Documentation/technical/pack-protocol.txt
+7
@@ -60,6 +60,13 @@ process on the server side over the Git protocol is this:
60 "0039git-upload-pack /schacon/gitbook.git\0host=example.com\0" |
61 nc -v example.com 9418
62
63 +If the server refuses the request for some reasons, it could abort
64 +gracefully with an error message.
65 +
66 +----
67 + error-line = PKT-LINE("ERR" SP explanation-text)
68 +----
69 +
70
71 SSH Transport
72 -------------