Skip to content

Commit c8b8f22

Browse files
ralfthgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 04b39f1 commit c8b8f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

send-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ int send_pack(struct send_pack_args *args,
360360
return 0;
361361
}
362362
if (args->atomic && !atomic_supported)
363-
die(_("server does not support --atomic push"));
363+
die(_("the receiving end does not support --atomic push"));
364364

365365
use_atomic = atomic_supported && args->atomic;
366366

0 commit comments

Comments
 (0)