cvsimport: use rev-parse to support packed refs
commit9da0dabcd9ff71083b6bbc9878c22b12002400dd
authorJeff King <peff@peff.net>
Wed, 28 Nov 2007 18:56:11 +0000 (28 13:56 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Nov 2007 22:38:06 +0000 (28 14:38 -0800)
tree3026d6aabab042dad63ee87670e979fd249aec87
parent795c7c0b08fefc7d0f5d0903d8341491350996f0
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>
git-cvsimport.perl
t/t9600-cvsimport.sh