threads / discuss / 1425

Re: garbage in the cogito.git repository

Subject: Re: garbage in the cogito.git repository

## tl;dr

2 messages between Aug 5, 2005 and Aug 5, 2005.

replies: 1people: 1as markdown or json

Petr Baudis· Aug 5, 2005, 00:06 UTC · lore

Dear diary, on Sun, Jul 31, 2005 at 02:42:28PM CEST, I got a letter where Sergey Vlasov <vsu@altlinux.ru> told me that...

> Hello!
Hi,
Show 11 quoted lines
> Today's pull from rsync://rsync.kernel.org/pub/scm/cogito/cogito.git
> downloaded more than 10 MB.  It seems that the cogito.git repository
> currently contains all objects in unpacked form, even though most of
> that objects are already in pack files.
> 
> Also there are two mysterious files:
> 
> objects/base.idx
> objects/base.pack
> 
> Could this be fixed?

yes, sorry about this. Packs got there through rsyncs all the way from git-core, and my immediate naive git-unpack-objects didn't actually do anything since all the objects were, well, in .git/objects/pack/thatpackfile. Obviously, this behaviour is reasonable when you think about it, but rather pitfallous, I would say. At least documenting it might be worthwhile.

BTW, if you pull now, be prepared to get git-core from elsewhere, since it will disappear from under your hands as I just unbundled it from Cogito. ;-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox
Petr Baudis· Aug 5, 2005, 00:10 UTC · re: Petr Baudis · lore

Dear diary, on Fri, Aug 05, 2005 at 02:06:13AM CEST, I got a letter where Petr Baudis <pasky@ucw.cz> told me that...

Show 6 quoted lines
> yes, sorry about this. Packs got there through rsyncs all the way from
> git-core, and my immediate naive git-unpack-objects didn't actually do
> anything since all the objects were, well, in
> .git/objects/pack/thatpackfile. Obviously, this behaviour is reasonable
> when you think about it, but rather pitfallous, I would say. At least
> documenting it might be worthwhile.

To clarify, I want to use packs, yes. But plenty of Cogito users are using HTTP and I want to give them some time to upgrade to the latest Git which supports pulling packs over HTTP. I'd say at least two to three weeks or me getting near the top of kernel.org object users, whichever comes first. :-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox

← back to recent threads