summaryrefslogtreecommitdiff
path: root/send-pack.c
diff options
context:
space:
mode:
authorRalf Thielow <ralf.thielow@gmail.com>2015-04-02 17:28:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-04-02 18:02:52 (GMT)
commitc8b8f22aa97a94dbad4fb7d8dcb2c5bf21c4fa32 (patch)
treed67ec0ed52f5068c3ba9e5a85efeb812d5686a94 /send-pack.c
parent04b39f195baf95b79c9c28a096011e9fe0a08303 (diff)
downloadgit-c8b8f22aa97a94dbad4fb7d8dcb2c5bf21c4fa32.zip
git-c8b8f22aa97a94dbad4fb7d8dcb2c5bf21c4fa32.tar.gz
git-c8b8f22aa97a94dbad4fb7d8dcb2c5bf21c4fa32.tar.bz2
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>
Diffstat (limited to 'send-pack.c')
-rw-r--r--send-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/send-pack.c b/send-pack.c
index 266f37f..d938cba 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;