From: Thomas Rast Date: Mon, 26 Sep 2011 16:25:39 GMT Subject: Re: Git is not scalable with too many refs/* Message-ID: <201109261825.39831.trast@student.ethz.ch> In-Reply-To: <201109260942.08299.mfick@codeaurora.org> Martin Fick wrote: > > I suspect that there are several commands in git > which inadvertently scan all the refs when they probably > shouldn't. [...] I feel like git checkout is one of those cases, > it does not seem like git checkout should be affected by the > number of refs in a repo? git-checkout checks whether you are leaving any unreferenced (orphaned) commits behind when you leave a detached HEAD, which requires that it scan the history of all refs for the commit you just left. So unless you disable that warning it'll be pretty expensive regardless. -- Thomas Rast trast@{inf,student}.ethz.ch