Browse Source

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>
maint
Miklos Vajna 16 years ago committed by Junio C Hamano
parent
commit
283b953283
  1. 8
      t/t9301-fast-export.sh

8
t/t9301-fast-export.sh

@ -231,4 +231,12 @@ test_expect_success 'fast-export -C -C | fast-import' ' @@ -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

Loading…
Cancel
Save