Browse Source

transport-helper: fix typo in error message when --signed is not supported

Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Mike Hommey 10 years ago committed by Junio C Hamano
parent
commit
45917f0f99
  1. 2
      transport-helper.c

2
transport-helper.c

@ -865,7 +865,7 @@ static int push_refs_with_export(struct transport *transport, @@ -865,7 +865,7 @@ static int push_refs_with_export(struct transport *transport,
die("helper %s does not support dry-run", data->name);
} else if (flags & TRANSPORT_PUSH_CERT) {
if (set_helper_option(transport, TRANS_OPT_PUSH_CERT, "true") != 0)
die("helper %s does not support dry-run", data->name);
die("helper %s does not support --signed", data->name);
}

if (flags & TRANSPORT_PUSH_FORCE) {

Loading…
Cancel
Save