summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-05 13:12:58 -0800
committerJunio C Hamano <gitster@pobox.com>2015-03-05 13:12:58 -0800
commitb1cffbfcfc78a0d9cd98ee983630b4473b2aab16 (patch)
tree5799e74ad2205847fad42851b081d9fed284ffb6
parent6db0497e1a8913fdcb935fa50cc8971d64b347be (diff)
parent45917f0f994aee78dccf2a41000b48fc23db1a0b (diff)
downloadgit-b1cffbfcfc78a0d9cd98ee983630b4473b2aab16.tar.gz
Merge branch 'jc/push-cert' into maint
"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
-rw-r--r--transport-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transport-helper.c b/transport-helper.c
index 3b90ebadb9..7dc4a443ae 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -862,7 +862,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) {