summaryrefslogtreecommitdiff
path: root/clone-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-07-14 03:26:54 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-14 03:53:33 (GMT)
commitfd7791103078a63d19a1cb7fd7756e7cee046f07 (patch)
treec34c0c8c2889033721d5fe9257ddebc74c650912 /clone-pack.c
parent6ec311da34cbbc8a571bf889b6ef00c4efb441b5 (diff)
downloadgit-fd7791103078a63d19a1cb7fd7756e7cee046f07.zip
git-fd7791103078a63d19a1cb7fd7756e7cee046f07.tar.gz
git-fd7791103078a63d19a1cb7fd7756e7cee046f07.tar.bz2
[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 064ec69..2aa5220 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))