git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* object/pack size x5 larger than a fresh clone?
@ 2010-07-24 21:57 Hin-Tak Leung
  2010-07-26  8:09 ` Andreas Ericsson
  0 siblings, 1 reply; 6+ messages in thread
From: Hin-Tak Leung @ 2010-07-24 21:57 UTC (permalink / raw)
  To: git

Is there any reason why a fresh git clone has a object pack around
140MB but one that has been updated over the years has it over 700MB?
(even with git gc --aggressive --prune=now and git fsck?)

$ du .git/objects/
711364	.git/objects/pack

$ du *wine/.git/objects/pack
144692	git-wine/.git/objects/pack
144604	wine/.git/objects/pack

I had a problem with git fetch  "Cannot obtain needed object" from
wine's git repository (which seems to be something to do with http
proxy, although AFAIK I don't have one) since about 2 weeks ago which
obviously does not apply to anybody else as I would have heard from
wine-devel.

Editing .git/config to switch from a http url to git url cure it...
but in the course of investigating, I git clone fresh (there are only
about 3 local changes so I could just git-format-patch them and move
them)

http://source.winehq.org/git/wine.git
git://source.winehq.org/git/wine.git

and I am a bit surprised that the new clones are so much smaller than
the one I have been working on these last few years. (I have had the
old one for at least 3-4 years).

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-27 21:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-24 21:57 object/pack size x5 larger than a fresh clone? Hin-Tak Leung
2010-07-26  8:09 ` Andreas Ericsson
2010-07-26 18:42   ` Hin-Tak Leung
2010-07-27 16:57     ` Junio C Hamano
2010-07-27 17:03       ` Shawn O. Pearce
2010-07-27 21:15         ` Hin-Tak Leung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).