summaryrefslogtreecommitdiffstats
path: root/t/t9600-cvsimport.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2007-11-28 19:56:11 +0100
committerJunio C Hamano <gitster@pobox.com>2007-11-28 23:38:06 +0100
commit9da0dabcd9ff71083b6bbc9878c22b12002400dd (patch)
tree3026d6aabab042dad63ee87670e979fd249aec87 /t/t9600-cvsimport.sh
parentAdd basic cvsimport tests (diff)
downloadgit-9da0dabcd9ff71083b6bbc9878c22b12002400dd.tar.xz
git-9da0dabcd9ff71083b6bbc9878c22b12002400dd.zip
cvsimport: use rev-parse to support packed refs
Previously, if refs were packed, git-cvsimport would assume that particular refs did not exist. This could lead to, for example, overwriting previous 'origin' commits that were packed. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9600-cvsimport.sh')
-rwxr-xr-xt/t9600-cvsimport.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh
index 1ee06bb386..3338d447c5 100755
--- a/t/t9600-cvsimport.sh
+++ b/t/t9600-cvsimport.sh
@@ -57,6 +57,8 @@ test_expect_success 'import a trivial module' '
'
+test_expect_success 'pack refs' 'cd module-git && git gc && cd ..'
+
test_expect_success 'update cvs module' '
cd module-cvs &&