Code

Add new testcase to show fast-export does not always exports all tags
authorMiklos Vajna <vmiklos@frugalware.org>
Sat, 22 Nov 2008 18:22:48 +0000 (19:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Nov 2008 03:54:24 +0000 (19:54 -0800)
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9301-fast-export.sh

index c19b4a2bab586b21da43c7a838ba85626f913568..7607a12dbbc621656276e3bdadc7d65653705ff1 100755 (executable)
@@ -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