projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] clone-pack: Typofix in the error message.
[git.git]
/
clone-pack.c
diff --git
a/clone-pack.c
b/clone-pack.c
index
064ec69
..
2aa5220
100644
(file)
--- a/
clone-pack.c
+++ b/
clone-pack.c
@@
-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))
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))
refname = line+41;
len = len-40;
if (nr_match && !path_match(refname, nr_match, match))