summaryrefslogtreecommitdiff
path: root/clone-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-07-13 20:26:54 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-13 20:53:33 -0700
commitfd7791103078a63d19a1cb7fd7756e7cee046f07 (patch)
treec34c0c8c2889033721d5fe9257ddebc74c650912 /clone-pack.c
parent6ec311da34cbbc8a571bf889b6ef00c4efb441b5 (diff)
downloadgit-fd7791103078a63d19a1cb7fd7756e7cee046f07.tar.gz
[PATCH] clone-pack: Typofix in the error message.
Cleans a small cut-and-paste mistake. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'clone-pack.c')
-rw-r--r--clone-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clone-pack.c b/clone-pack.c
index 064ec6964d..2aa522089e 100644
--- a/clone-pack.c
+++ b/clone-pack.c
@@ -30,7 +30,7 @@ static struct ref *get_remote_refs(int fd, int nr_match, char **match)
if (line[len-1] == '\n')
line[--len] = 0;
if (len < 42 || get_sha1_hex(line, sha1))
- die("git-fetch-pack: protocol error - expected ref descriptor, got '%s¤'", line);
+ die("git-clone-pack: protocol error - expected ref descriptor, got '%s'", line);
refname = line+41;
len = len-40;
if (nr_match && !path_match(refname, nr_match, match))