Skip to content

Commit

Permalink
Merge branch 'il/archive-err-signal'
Browse files Browse the repository at this point in the history
* il/archive-err-signal:
  Support ERR in remote archive like in fetch/push
  • Loading branch information
Junio C Hamano committed Oct 14, 2011
2 parents ab1e76b + 908aace commit 1810abb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builtin/archive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}

Expand Down

0 comments on commit 1810abb

Please sign in to comment.