Code

[PATCH] clone-pack: Typofix in the error message.
authorJunio C Hamano <junkio@cox.net>
Thu, 14 Jul 2005 03:26:54 +0000 (20:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 14 Jul 2005 03:53:33 +0000 (20:53 -0700)
Cleans a small cut-and-paste mistake.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
clone-pack.c

index 064ec6964d45b365bdfdb48cbbc975e2c0864762..2aa522089e94f9c2e3b8887efb769f654a34ebde 100644 (file)
@@ -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))