From: Nguyen Thai Ngoc Duy Date: Wed, 24 Oct 2012 04:29:00 GMT Subject: Re: Long clone time after "done." Message-ID: In-Reply-To: On Wed, Oct 24, 2012 at 1:30 AM, Uri Moszkowicz 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