diff options
author | Jeff King <peff@peff.net> | 2007-11-28 13:56:11 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-28 14:38:06 -0800 |
commit | 9da0dabcd9ff71083b6bbc9878c22b12002400dd (patch) | |
tree | 3026d6aabab042dad63ee87670e979fd249aec87 /t/t9600-cvsimport.sh | |
parent | 795c7c0b08fefc7d0f5d0903d8341491350996f0 (diff) | |
download | git-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-x | t/t9600-cvsimport.sh | 2 |
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 && |