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>
Miklos Vajna committed
Nov 22, 2008 at 19:22 UTC
283b9532831fc0a86c40ac89e1e713b28dabb241
1 file changed
+8
t/t9301-fast-export.sh
+8
@@ -231,4 +231,12 @@ test_expect_success 'fast-export -C -C | fast-import' '
231
232
'
233
234
+test_expect_failure 'fast-export | fast-import when master is tagged' '
235
+
236
+ git tag -m msg last &&
237
+ git fast-export -C -C --signed-tags=strip --all > output &&
238
+ test $(grep -c "^tag " output) = 3
239
+
240
+'
241
+
242
test_done