Add new testcase to show fast-export does not always exports all tags

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Miklos Vajna 2008-11-22 19:22:48 +01:00 committed by Junio C Hamano
parent 3eb91bfc0d
commit 283b953283

View file

@ -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