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>
Ralf Thielow committed
Apr 2, 2015 at 19:28 UTC
c8b8f22aa97a94dbad4fb7d8dcb2c5bf21c4fa32
1 file changed
+1
-1
send-pack.c
+1
-1
@@ -360,7 +360,7 @@ int send_pack(struct send_pack_args *args,
360
return 0;
361
}
362
if (args->atomic && !atomic_supported)
363
- die(_("server does not support --atomic push"));
363
+ die(_("the receiving end does not support --atomic push"));
364
365
use_atomic = atomic_supported && args->atomic;
366