Skip to content

Commit

Permalink
Merge branch 'il/archive-err-signal' into maint
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 21, 2011
2 parents c510259 + 908aace commit 689b047
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 689b047

Please sign in to comment.