Improve receive-pack error message about funny ref creation
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>
Joakim Tjernlund committed
Oct 20, 2007 at 21:31 UTC
0b8293f6776a7fc600c924ca71e4bba81d396409
1 file changed
+1
-1
receive-pack.c
+1
-1
@@ -166,7 +166,7 @@ static const char *update(struct command *cmd)
166
struct ref_lock *lock;
167
168
if (!prefixcmp(name, "refs/") && check_ref_format(name + 5)) {
169
- error("refusing to create funny ref '%s' locally", name);
169
+ error("refusing to create funny ref '%s' remotely", name);
170
return "funny refname";
171
}
172