summaryrefslogtreecommitdiff
path: root/fetch-pack.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-13 20:55:56 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-13 20:55:56 -0700
commit516236ce3fc6208c217e39d2c005cb162ad56486 (patch)
tree964173c631ab2d8efd5c9e7f3943e873711bf1df /fetch-pack.c
parent12dd6e8cb0643231628d0240fdbb4afdef6629ea (diff)
downloadgit-516236ce3fc6208c217e39d2c005cb162ad56486.tar.gz
Get rid of nasty utf-8 characters in printout
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.
Diffstat (limited to 'fetch-pack.c')
-rw-r--r--fetch-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-pack.c b/fetch-pack.c
index 3475ea380a..0979d3d9b6 100644
--- a/fetch-pack.c
+++ b/fetch-pack.c
@@ -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;