summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-10-12 12:34:18 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-12 12:34:18 -0700
commita99c247c5380b83477e7f6ab4ba7b5488a49f28a (patch)
treea4eeda6786055a695bb9f968c480b486d9d8b34c
parentMerge branch 'jc/parse-options-boolean' (diff)
parentpack-protocol: document "ERR" line (diff)
downloadtgif-a99c247c5380b83477e7f6ab4ba7b5488a49f28a.tar.xz
Merge branch 'nd/document-err-packet'
* nd/document-err-packet: pack-protocol: document "ERR" line
-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 a7004c63e7..546980c0a4 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
-------------