projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2005dbe
)
Improve receive-pack error message about funny ref creation
author
Joakim Tjernlund
<Joakim.Tjernlund@transmode.se>
Sat, 20 Oct 2007 19:31:46 +0000
(21:31 +0200)
committer
Shawn O. Pearce
<spearce@spearce.org>
Sun, 21 Oct 2007 01:49:24 +0000
(21:49 -0400)
receive-pack is only executed remotely so when
reporting errors, say so.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
receive-pack.c
patch
|
blob
|
history
diff --git
a/receive-pack.c
b/receive-pack.c
index d3c422be58c5ee1af7e75cf4186bc9bbfb19ec30..1521d0b2de77eaccf3db1ebf357fd7560b2de1b0 100644
(file)
--- a/
receive-pack.c
+++ b/
receive-pack.c
@@
-166,7
+166,7
@@
static const char *update(struct command *cmd)
struct ref_lock *lock;
if (!prefixcmp(name, "refs/") && check_ref_format(name + 5)) {
- error("refusing to create funny ref '%s'
local
ly", name);
+ error("refusing to create funny ref '%s'
remote
ly", name);
return "funny refname";
}