diff options
author | John Keeping <john@keeping.me.uk> | 2013-04-14 11:57:06 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-15 09:02:25 -0700 |
commit | cd16c59bfa216b7e153f357ccfa89d2a567b8c00 (patch) | |
tree | cf9bd5bfece3d6d070a1f9a2d6b28490b0539404 /t/t9350-fast-export.sh | |
parent | 85e7e81ccfcec98972e341ab81b0109084b84906 (diff) | |
download | git-cd16c59bfa216b7e153f357ccfa89d2a567b8c00.tar.gz |
fast-export: add --signed-tags=warn-strip mode
This issues a warning while stripping signatures from signed tags, which
allows us to use it as default behaviour for remote helpers which cannot
specify how to handle signed tags.
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9350-fast-export.sh')
-rwxr-xr-x | t/t9350-fast-export.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t9350-fast-export.sh b/t/t9350-fast-export.sh index 9320b4f94c..2471bc6777 100755 --- a/t/t9350-fast-export.sh +++ b/t/t9350-fast-export.sh @@ -146,6 +146,12 @@ test_expect_success 'signed-tags=strip' ' ' +test_expect_success 'signed-tags=warn-strip' ' + git fast-export --signed-tags=warn-strip sign-your-name >output 2>err && + ! grep PGP output && + test -s err +' + test_expect_success 'setup submodule' ' git checkout -f master && |