From: Jonathan Nieder Date: Fri, 17 Dec 2010 01:45:39 GMT Subject: Re: Performance issue exposed by git-filter-branch Message-ID: <20101217014539.GA6775@burratino> In-Reply-To: <41C1B4AC-8427-4D62-BEB6-689A4BE4EE5B@irridia.com> Hi Ken, Ken Brownfield wrote: > Is there a way to apply the optimizations mentioned in that old > thread to the code paths used by git-filter-branch (mainly git-read > and git-rm, seemingly), or is there another way to investigate and > improve the performance of the filter? Which old thread? You might be able to get faster results using the approach of [1] (using "git cat-file --batch-check" to collect the trees you want and "git fast-import" to paste them together), which avoids unpacking trees when not needed. Hope that helps, Jonathan [1] http://repo.or.cz/w/git/barrbrain/github.git/commitdiff/db-svn-filter-root