summaryrefslogtreecommitdiff
path: root/t/t9600-cvsimport.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2007-11-28 13:56:11 -0500
committerJunio C Hamano <gitster@pobox.com>2007-11-28 14:38:06 -0800
commit9da0dabcd9ff71083b6bbc9878c22b12002400dd (patch)
tree3026d6aabab042dad63ee87670e979fd249aec87 /t/t9600-cvsimport.sh
parent795c7c0b08fefc7d0f5d0903d8341491350996f0 (diff)
downloadgit-9da0dabcd9ff71083b6bbc9878c22b12002400dd.tar.gz
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 &&