Re: cherry-pick is slow
- From
- Junio C Hamano <gitster-vger@pobox.com>
- Date
- May 13, 2012, 01:11 UTC
- Message-ID
- <CAPc5daW6eBLUf55_Qk+4bA6Y16TehfOUGc1xFzhib9vm=8O2Yw@mail.gmail.com>
- In-Reply-To
- <CAPZ_ugYojqTaWi0atr2ApOu9xmcwy4y8FduNC+TDhgWgSxXNPQ@mail.gmail.com>
On Sat, May 12, 2012 at 3:39 PM, Dmitry Risenberg <dmitry.risenberg@gmail.com> wrote:
Show 16 quoted lines
>
> Hello.
>
> I have a very big git repository (the .git directory is about 5.3 Gb),
> which is a copy of an svn repository fetched via git-svn. In fact
> there are a few repositories ("working copies") that share the same
> .git directory (via symlinks), in which I have different svn branches
> checked out. Now I want to merge a commit from one svn branch to
> another via git cherry-pick. The commit contains diff in only one
> file. So I do
>
> git cherry-pick <commit>
>
> And the operation takes tens of seconds to finish. In "top" output I
> see that git process uses almost no CPU, but has hundreds of page
> faults, so I assume that it is reading a lot of files from disk.Wild guess: poorly (or worse yet, never) packed repository?