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>
This commit is contained in:
Ralf Thielow 2015-04-02 19:28:48 +02:00 committed by Junio C Hamano
parent 04b39f195b
commit c8b8f22aa9

View File

@ -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;