Merge branch 'il/archive-err-signal'
* il/archive-err-signal: Support ERR in remote archive like in fetch/pushmaint
commit
1810abb994
|
@ -61,6 +61,8 @@ static int run_remote_archiver(int argc, const char **argv,
|
||||||
if (strcmp(buf, "ACK")) {
|
if (strcmp(buf, "ACK")) {
|
||||||
if (len > 5 && !prefixcmp(buf, "NACK "))
|
if (len > 5 && !prefixcmp(buf, "NACK "))
|
||||||
die(_("git archive: NACK %s"), buf + 5);
|
die(_("git archive: NACK %s"), buf + 5);
|
||||||
|
if (len > 4 && !prefixcmp(buf, "ERR "))
|
||||||
|
die(_("remote error: %s"), buf + 4);
|
||||||
die(_("git archive: protocol error"));
|
die(_("git archive: protocol error"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue