diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-08-22 10:29:03 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-22 10:29:03 -0700 |
commit | bdfcdefd2f0587873436c950dd7a0798d313eb34 (patch) | |
tree | a87f56e7da3e2b6bbc93dd6e64a86a4a4801a372 /t/t5534-push-signed.sh | |
parent | 6cb3822cfb34487b2e630f8fe0542c4e0dd8b2f2 (diff) | |
parent | f094b89a4d75216736830b5d2286ebc6846a25a9 (diff) | |
download | git-bdfcdefd2f0587873436c950dd7a0798d313eb34.tar.gz |
Merge branch 'ma/parse-maybe-bool'
Code clean-up.
* ma/parse-maybe-bool:
parse_decoration_style: drop unused argument `var`
treewide: deprecate git_config_maybe_bool, use git_parse_maybe_bool
config: make git_{config,parse}_maybe_bool equivalent
config: introduce git_parse_maybe_bool_text
t5334: document that git push --signed=1 does not work
Doc/git-{push,send-pack}: correct --sign= to --signed=
Diffstat (limited to 't/t5534-push-signed.sh')
-rwxr-xr-x | t/t5534-push-signed.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t5534-push-signed.sh b/t/t5534-push-signed.sh index 464ffdd147..1cea758f78 100755 --- a/t/t5534-push-signed.sh +++ b/t/t5534-push-signed.sh @@ -71,6 +71,13 @@ test_expect_success 'push --signed fails with a receiver without push certificat test_i18ngrep "the receiving end does not support" err ' +test_expect_success 'push --signed=1 is accepted' ' + prepare_dst && + mkdir -p dst/.git/hooks && + test_must_fail git push --signed=1 dst noop ff +noff 2>err && + test_i18ngrep "the receiving end does not support" err +' + test_expect_success GPG 'no certificate for a signed push with no update' ' prepare_dst && mkdir -p dst/.git/hooks && |