summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Ralf Thielow <ralf.thielow@gmail.com>2015-04-02 19:28:48 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-04-02 11:02:52 -0700
commitc8b8f22aa97a94dbad4fb7d8dcb2c5bf21c4fa32 (patch)
treed67ec0ed52f5068c3ba9e5a85efeb812d5686a94
parentDocument receive.advertiseatomic (diff)
downloadtgif-c8b8f22aa97a94dbad4fb7d8dcb2c5bf21c4fa32.tar.xz
send-pack: unify error messages for unsupported capabilities
If --signed is not supported, the error message names the remote "receiving end". If --atomic is not supported, the error message names the remote "server". Unify the naming to "receiving end" as we're in the context of "push". Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--send-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/send-pack.c b/send-pack.c
index 266f37f060..d938cba0a8 100644
--- a/send-pack.c
+++ b/send-pack.c
@@ -360,7 +360,7 @@ int send_pack(struct send_pack_args *args,
return 0;
}
if (args->atomic && !atomic_supported)
- die(_("server does not support --atomic push"));
+ die(_("the receiving end does not support --atomic push"));
use_atomic = atomic_supported && args->atomic;