aboutsummaryrefslogtreecommitdiff
path: root/t/t9301-fast-export.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-11-27 19:23:51 -0800
committerJunio C Hamano <gitster@pobox.com>2008-11-27 19:23:51 -0800
commit455d0f5c23a600ff8c94642ca5123f1bd2f1ec0d (patch)
treed6674efc969ac919afdaf98202aab53a14d20871 /t/t9301-fast-export.sh
parent608efb875f89a946d5cb37b2dd4077132618e0e1 (diff)
parent539eec48f0a101b45c5f150a2bbc067fd85bc96d (diff)
downloadgit-455d0f5c23a600ff8c94642ca5123f1bd2f1ec0d.tar.gz
git-455d0f5c23a600ff8c94642ca5123f1bd2f1ec0d.tar.xz
Merge branch 'maint'
* maint: sha1_file.c: resolve confusion EACCES vs EPERM sha1_file: avoid bogus "file exists" error message git checkout: don't warn about unborn branch if -f is already passed bash: offer refs instead of filenames for 'git revert' bash: remove dashed command leftovers git-p4: fix keyword-expansion regex fast-export: use an unsorted string list for extra_refs Add new testcase to show fast-export does not always exports all tags
Diffstat (limited to 't/t9301-fast-export.sh')
-rwxr-xr-xt/t9301-fast-export.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t9301-fast-export.sh b/t/t9301-fast-export.sh
index 6ddd7c19f..205743546 100755
--- a/t/t9301-fast-export.sh
+++ b/t/t9301-fast-export.sh
@@ -231,4 +231,12 @@ test_expect_success 'fast-export -C -C | fast-import' '
'
+test_expect_success '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