It all goes to pack_refs() in write_remote_refs called from update_remote_refs(). On Tue, Oct 23, 2012 at 11:29 PM, Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> wrote: > On Wed, Oct 24, 2012 at 1:30 AM, Uri Moszkowicz <uri@xxxxxxxxx> wrote: >> I have a large repository which I ran "git gc --aggressive" on that >> I'm trying to clone on a local file system. I would expect it to >> complete very quickly with hard links but it's taking about 6min to >> complete with no checkout (git clone -n). I see the message "Clining >> into 'repos'... done." appear after a few seconds but then Git just >> hangs there for another 6min. Any idea what it's doing at this point >> and how I can speed it up? > > "done." is printed by clone_local(), which is called in cmd_clone(). > After that there are just a few more calls. Maybe you could add a few > printf in between these calls, see which one takes most time? > -- > Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html