diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2007-10-20 21:31:46 +0200 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-10-20 21:49:24 -0400 |
commit | 0b8293f6776a7fc600c924ca71e4bba81d396409 (patch) | |
tree | 34bfe056a9c989cfd0a9ff9fe116ac99e2cf301f /receive-pack.c | |
parent | 2005dbe2a4e3eba5ecddb7d3c46339d2bc1241d4 (diff) | |
download | git-0b8293f6776a7fc600c924ca71e4bba81d396409.tar.gz |
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>
Diffstat (limited to 'receive-pack.c')
-rw-r--r-- | receive-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/receive-pack.c b/receive-pack.c index d3c422be58..1521d0b2de 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"; } |