From: Jeff King Date: Wed, 28 Nov 2007 16:57:46 GMT Subject: Re: git-cvsimport bug Message-ID: <20071128165746.GC20308@coredump.intra.peff.net> In-Reply-To: <20071127150136.GA50697@orion.lan> On Tue, Nov 27, 2007 at 04:01:36PM +0100, Emanuele Giaquinta wrote: > a call to git-cvsimport after a 'git-pack-refs --all' seems to mess up > the origin branch, because the first new change is committed with no > parent (git-cvsimport reports 'Parent ID (empty)'). > It does not happen if I disable loose refs pruning with --no-prune. A > tiny test repo you can use to reproduce the problem is > mextli.tomaw.net/~exg/lzf.tar. Is it expected? Some of git-cvsimport is quite old, and it accesses the ref files directly. It should be fairly easy to fix; I will post a patch in a few minutes. -Peff