Why pack+unpack?

2005-07-25 Thread Jeff Garzik
Whenever I pull a local repository, such as cd /spare/repo/libata-dev git pull /spare/repo/linux-2.6/.git git will pack, then unpack, the objects being pulled. AFAICT this is just a complete waste of time. Why does this occur? Packing 1394 objects Unpacking 1394 objects

Re: Why pack+unpack?

2005-07-25 Thread Linus Torvalds
On Tue, 26 Jul, Jeff Garzik wrote: AFAICT this is just a complete waste of time. Why does this occur? Packing 1394 objects Unpacking 1394 objects 100% (1394/1394) done It doesn't seem to make any sense to perform work, then immediately undo that work,

Re: Why pack+unpack?

2005-07-25 Thread Jeff Garzik
Linus Torvalds wrote: First, make sure you have a recent git, it does better at optimizing the I was using vanilla git, as of 10 minutes before I sent the email. Top of tree is 154d3d2dd2656c23ea04e9d1c6dd4e576a7af6de. Secondly, what's the problem? Sure, I could special-case the local