Skip to content

Commit

Permalink
[PATCH] clone-pack: Typofix in the error message.
Browse files Browse the repository at this point in the history
Cleans a small cut-and-paste mistake.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Junio C Hamano authored and Linus Torvalds committed Jul 14, 2005
1 parent 6ec311d commit fd77911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clone-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit fd77911

Please sign in to comment.