From: Martin Langhoff Date: Thu, 14 Jan 2010 15:21:39 GMT Subject: Re: [PATCH 0/2] Improve Git performance on big trees Message-ID: <46a038f91001140721j5acb766cxfd777570d6edfca4@mail.gmail.com> In-Reply-To: <1263481341-28401-1-git-send-email-pclouds@gmail.com> 2010/1/14 Nguyễn Thái Ngọc Duy : > Almost 1 sec for "git rm foo" still seems too long though, > probably due to writing a 9MB index. One of the main issues there is that the Gentoo dir tree seems to be very flat. The kernel tree is huge, but much deeper, and does not have a huge top-level directory -- and git handles it fairly well. Perhaps the Gentoo tree can be rearranged to be more nested? If your devs strongly prefer a flat view of it, that could be arranged with symlinks. Alternatively, each port can be in its own repo, and you can make a "top level repo" using git submodules -- this is what Fedora/RH is exploring at the moment. cheers, m -- martin.langhoff@gmail.com martin@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff