diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-09-03 14:51:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-03 14:51:56 -0700 |
commit | 36f44a06802960abce7febbf9cc40461e5546ee5 (patch) | |
tree | d0001f04f2edfb3644c304626908f31d495cb17b /builtin-archive.c | |
parent | 73bae1dc468734bad3ff7d1b8e93e7ac5f9d3dff (diff) | |
parent | 47a528ad24185133867ebb5bb7692db2cb8bef39 (diff) | |
download | git-36f44a06802960abce7febbf9cc40461e5546ee5.tar.gz |
Merge branch 'ho/dashless' into maint
* ho/dashless:
tests: use "git xyzzy" form (t7200 - t9001)
tests: use "git xyzzy" form (t7000 - t7199)
tests: use "git xyzzy" form (t3600 - t6999)
tests: use "git xyzzy" form (t0000 - t3599)
'git foo' program identifies itself without dash in die() messages
Start conforming code to "git subcmd" style
Diffstat (limited to 'builtin-archive.c')
-rw-r--r-- | builtin-archive.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/builtin-archive.c b/builtin-archive.c index 22445acbfc..5ceec433fd 100644 --- a/builtin-archive.c +++ b/builtin-archive.c @@ -47,18 +47,18 @@ static int run_remote_archiver(const char *remote, int argc, len = packet_read_line(fd[0], buf, sizeof(buf)); if (!len) - die("git-archive: expected ACK/NAK, got EOF"); + die("git archive: expected ACK/NAK, got EOF"); if (buf[len-1] == '\n') buf[--len] = 0; if (strcmp(buf, "ACK")) { if (len > 5 && !prefixcmp(buf, "NACK ")) - die("git-archive: NACK %s", buf + 5); - die("git-archive: protocol error"); + die("git archive: NACK %s", buf + 5); + die("git archive: protocol error"); } len = packet_read_line(fd[0], buf, sizeof(buf)); if (len) - die("git-archive: expected a flush"); + die("git archive: expected a flush"); /* Now, start reading from fd[0] and spit it out to stdout */ rv = recv_sideband("archive", fd[0], 1, 2); |