summaryrefslogtreecommitdiff
path: root/t/t9350-fast-export.sh
diff options
context:
space:
mode:
authorLibravatar John Keeping <john@keeping.me.uk>2013-04-14 11:57:06 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-15 09:02:25 -0700
commitcd16c59bfa216b7e153f357ccfa89d2a567b8c00 (patch)
treecf9bd5bfece3d6d070a1f9a2d6b28490b0539404 /t/t9350-fast-export.sh
parentMerge branch 'po/help-guides' (diff)
downloadtgif-cd16c59bfa216b7e153f357ccfa89d2a567b8c00.tar.xz
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-xt/t9350-fast-export.sh6
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 &&