Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/push-cert'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 18 Feb 2015 19:45:03 +0000
(11:45 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 18 Feb 2015 19:45:03 +0000
(11:45 -0800)
"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
transport-helper.c
patch
|
blob
|
history
raw
(from parent 1:
ca00db0
)
diff --git
a/transport-helper.c
b/transport-helper.c
index 27c82f73ace01c750325b9d6e4cb51b703642f15..7441d5d515fa6a74b60b04b312f9bc4e83f4b462 100644
(file)
--- 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) {