Skip to content

Commit 283b953

Browse files
Miklos Vajnagitster
authored andcommitted
Add new testcase to show fast-export does not always exports all tags
Signed-off-by: Miklos Vajna <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3eb91bf commit 283b953

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

t/t9301-fast-export.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,4 +231,12 @@ test_expect_success 'fast-export -C -C | fast-import' '
231231
232232
'
233233

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+
234242
test_done

0 commit comments

Comments
 (0)