From: Linus Torvalds Date: Fri, 08 Jul 2005 00:09:48 GMT Subject: Re: [ANNOUNCE] Cogito-0.12 Message-ID: In-Reply-To: On Thu, 7 Jul 2005, Linus Torvalds wrote: > > > > cg-update from a local repo that contains packs is broken though :-( > > Is this with cg-0.12? The most recent release should be happy with packs. Ahh, I see it. It's because it uses "git-local-pull", and yes, git-local-pull does the old filename assumption. Right? Ho humm.. That's a bug in local-pull.c, although I'm not sure how to fix it best. One option is to just not use it (as in "use git-fetch-pack instead"), and another is to use GIT_ALTERNATE_OBJECT_DIRECTORIES and just pick up the files that way. Yet another one is to actually copy over (or link) the pack-file, but that's likely the least preferable one. The _simplest_ fix is to use git-fetch-pack. It doesn't give you the convenient hard-linking, though. Linus