Skip to content

Commit

Permalink
send-pack: unify error messages for unsupported capabilities
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ralf Thielow authored and Junio C Hamano committed Apr 2, 2015
1 parent 04b39f1 commit c8b8f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion send-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c8b8f22

Please sign in to comment.