Skip to content

Commit

Permalink
Merge branch 'jc/push-cert'
Browse files Browse the repository at this point in the history
"git push --signed" gave an incorrectly worded error message when
the other side did not support the capability.

* jc/push-cert:
  transport-helper: fix typo in error message when --signed is not supported
  • Loading branch information
gitster committed Feb 18, 2015
2 parents ca00db0 + 45917f0 commit 74f45df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,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) {
Expand Down

0 comments on commit 74f45df

Please sign in to comment.