Skip to content

Commit 74f45df

Browse files
committed
Merge branch 'jc/push-cert'
"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
2 parents ca00db0 + 45917f0 commit 74f45df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transport-helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ static int push_refs_with_export(struct transport *transport,
863863
die("helper %s does not support dry-run", data->name);
864864
} else if (flags & TRANSPORT_PUSH_CERT) {
865865
if (set_helper_option(transport, TRANS_OPT_PUSH_CERT, "true") != 0)
866-
die("helper %s does not support dry-run", data->name);
866+
die("helper %s does not support --signed", data->name);
867867
}
868868

869869
if (flags & TRANSPORT_PUSH_FORCE) {

0 commit comments

Comments
 (0)