From 283b9532831fc0a86c40ac89e1e713b28dabb241 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sat, 22 Nov 2008 19:22:48 +0100 Subject: [PATCH] Add new testcase to show fast-export does not always exports all tags Signed-off-by: Miklos Vajna Signed-off-by: Junio C Hamano --- t/t9301-fast-export.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/t9301-fast-export.sh b/t/t9301-fast-export.sh index c19b4a2ba..7607a12db 100755 --- a/t/t9301-fast-export.sh +++ b/t/t9301-fast-export.sh @@ -231,4 +231,12 @@ test_expect_success 'fast-export -C -C | fast-import' ' ' +test_expect_failure 'fast-export | fast-import when master is tagged' ' + + git tag -m msg last && + git fast-export -C -C --signed-tags=strip --all > output && + test $(grep -c "^tag " output) = 3 + +' + test_done -- 2.30.2