aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-21 10:49:25 -0700
committerJunio C Hamano <gitster@pobox.com>2011-10-21 10:49:25 -0700
commit689b047072030db30d101d43dbef6afd3b703c09 (patch)
tree82deb0182c3a35f35bca7c6680ad21aaccca556e /builtin
parentc510259c02b46d5edb84568ee9eb0967b25bb75b (diff)
parent908aaceb92c4fcc983c395350d4a188778ae500d (diff)
downloadgit-689b047072030db30d101d43dbef6afd3b703c09.tar.gz
git-689b047072030db30d101d43dbef6afd3b703c09.tar.xz
Merge branch 'il/archive-err-signal' into maint
* il/archive-err-signal: Support ERR in remote archive like in fetch/push
Diffstat (limited to 'builtin')
-rw-r--r--builtin/archive.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/archive.c b/builtin/archive.c
index 883c0092a..931956def 100644
--- a/builtin/archive.c
+++ b/builtin/archive.c
@@ -61,6 +61,8 @@ static int run_remote_archiver(int argc, const char **argv,
if (strcmp(buf, "ACK")) {
if (len > 5 && !prefixcmp(buf, "NACK "))
die(_("git archive: NACK %s"), buf + 5);
+ if (len > 4 && !prefixcmp(buf, "ERR "))
+ die(_("remote error: %s"), buf + 4);
die(_("git archive: protocol error"));
}