Skip to content

Commit 689b047

Browse files
committed
Merge branch 'il/archive-err-signal' into maint
* il/archive-err-signal: Support ERR in remote archive like in fetch/push
2 parents c510259 + 908aace commit 689b047

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

builtin/archive.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ static int run_remote_archiver(int argc, const char **argv,
6161
if (strcmp(buf, "ACK")) {
6262
if (len > 5 && !prefixcmp(buf, "NACK "))
6363
die(_("git archive: NACK %s"), buf + 5);
64+
if (len > 4 && !prefixcmp(buf, "ERR "))
65+
die(_("remote error: %s"), buf + 4);
6466
die(_("git archive: protocol error"));
6567
}
6668

0 commit comments

Comments
 (0)