summaryrefslogtreecommitdiff
path: root/transport-helper.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-02-18 11:45:03 -0800
committerJunio C Hamano <gitster@pobox.com>2015-02-18 11:45:03 -0800
commit74f45dfd78661a84fcff81e616ef6c154deadcb9 (patch)
tree1fc3f1b6a92593b26bbd6639fd4be236adc83cfa /transport-helper.c
parentca00db08da414b3f6bd9481a51fdbb4b6836719c (diff)
parent45917f0f994aee78dccf2a41000b48fc23db1a0b (diff)
downloadgit-74f45dfd78661a84fcff81e616ef6c154deadcb9.tar.gz
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
Diffstat (limited to 'transport-helper.c')
-rw-r--r--transport-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transport-helper.c b/transport-helper.c
index 27c82f73ac..7441d5d515 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -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) {