summaryrefslogtreecommitdiff
path: root/send-pack.c
diff options
context:
space:
mode:
authorRalf Thielow <ralf.thielow@gmail.com>2015-04-02 19:28:48 +0200
committerJunio C Hamano <gitster@pobox.com>2015-04-02 11:02:52 -0700
commitc8b8f22aa97a94dbad4fb7d8dcb2c5bf21c4fa32 (patch)
treed67ec0ed52f5068c3ba9e5a85efeb812d5686a94 /send-pack.c
parent04b39f195baf95b79c9c28a096011e9fe0a08303 (diff)
downloadgit-c8b8f22aa97a94dbad4fb7d8dcb2c5bf21c4fa32.tar.gz
send-pack: unify error messages for unsupported capabilitiessb/atomic-push
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 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;