RE: Why does send-pack call pack-objects for all remote refs?

2015-12-14 Thread Daniel Koverman
> You might also try repacking with "git repack -adb", which will > build reachability bitmaps. Pack-objects can use them to compute > the set of required objects much faster. Running "git repack -adb" caused my push time to incease by about 5x. I made some fresh clones and tried other options wit

RE: Why does send-pack call pack-objects for all remote refs?

2015-12-08 Thread Daniel Koverman
first. Thanks again, Junio and Peff. Daniel -Original Message- From: Jeff King [mailto:p...@peff.net] Sent: Monday, December 07, 2015 5:57 PM To: Daniel Koverman Cc: Junio C Hamano; git@vger.kernel.org Subject: Re: Why does send-pack call pack-objects for all remote refs? On Mon, Dec 07, 20

Why does send-pack call pack-objects for all remote refs?

2015-12-07 Thread Daniel Koverman
I have a repository which has ~2000 branches on the remote, and it takes ~8 seconds to push a change to one ref. The majority of this time is spent in pack-object. I wrote a hack so that only the ref being updated would be packed (the normal behavior is to pack for every ref on the remote).  The