Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Get rid of nasty utf-8 characters in printout
author
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 14 Jul 2005 03:55:56 +0000
(20:55 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 14 Jul 2005 03:55:56 +0000
(20:55 -0700)
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.
fetch-pack.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
12dd6e8
)
diff --git
a/fetch-pack.c
b/fetch-pack.c
index 3475ea380a29495269ac64fa9e4ff797b9b8687c..0979d3d9b69ce88c31555b3695505cb9a6aca28e 100644
(file)
--- 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;