Skip to content

Commit

Permalink
Get rid of nasty utf-8 characters in printout
Browse files Browse the repository at this point in the history
Oh, well..  FC4 has UTF-8 as the default environment, and I applaud
that, but then it sometimes results in these characters that aren't
actually visible as a problem.
  • Loading branch information
Linus Torvalds committed Jul 14, 2005
1 parent 12dd6e8 commit 516236c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static int get_remote_heads(int fd, int nr_match, char **match, unsigned char *r
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-fetch-pack: protocol error - expected ref descriptor, got '%s'", line);
refname = line+41;
if (nr_match && !path_match(refname, nr_match, match))
continue;
Expand Down

0 comments on commit 516236c

Please sign in to comment.