Re: [ANNOUNCE] Cogito-0.12
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Jul 8, 2005, 00:09 UTC
- Message-ID
- <Pine.LNX.4.58.0507071706090.25104@g5.osdl.org>
- In-Reply-To
- <Pine.LNX.4.58.0507071658460.25104@g5.osdl.org>
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