Skip to content

Commit

Permalink
Add new testcase to show fast-export does not always exports all tags
Browse files Browse the repository at this point in the history
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Miklos Vajna authored and Junio C Hamano committed Nov 24, 2008
1 parent 3eb91bf commit 283b953
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions t/t9301-fast-export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 283b953

Please sign in to comment.