summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2005dbe)
raw | patch | inline | side by side (parent: 2005dbe)
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>
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
struct ref_lock *lock;
if (!prefixcmp(name, "refs/") && check_ref_format(name + 5)) {
- error("refusing to create funny ref '%s' locally", name);
+ error("refusing to create funny ref '%s' remotely", name);
return "funny refname";
}