summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2007-10-20 19:31:46 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-10-21 01:49:24 (GMT)
commit0b8293f6776a7fc600c924ca71e4bba81d396409 (patch)
tree34bfe056a9c989cfd0a9ff9fe116ac99e2cf301f
parent2005dbe2a4e3eba5ecddb7d3c46339d2bc1241d4 (diff)
downloadgit-0b8293f6776a7fc600c924ca71e4bba81d396409.zip
git-0b8293f6776a7fc600c924ca71e4bba81d396409.tar.gz
git-0b8293f6776a7fc600c924ca71e4bba81d396409.tar.bz2
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>
-rw-r--r--receive-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/receive-pack.c b/receive-pack.c
index d3c422b..1521d0b 100644
--- 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' locally", name);
+ error("refusing to create funny ref '%s' remotely", name);
return "funny refname";
}