summaryrefslogtreecommitdiff
path: root/transport-helper.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-05 21:12:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-05 21:12:58 (GMT)
commitb1cffbfcfc78a0d9cd98ee983630b4473b2aab16 (patch)
tree5799e74ad2205847fad42851b081d9fed284ffb6 /transport-helper.c
parent6db0497e1a8913fdcb935fa50cc8971d64b347be (diff)
parent45917f0f994aee78dccf2a41000b48fc23db1a0b (diff)
downloadgit-b1cffbfcfc78a0d9cd98ee983630b4473b2aab16.zip
git-b1cffbfcfc78a0d9cd98ee983630b4473b2aab16.tar.gz
git-b1cffbfcfc78a0d9cd98ee983630b4473b2aab16.tar.bz2
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
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 3b90eba..7dc4a44 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) {