Re: cherry-pick very slow on big repository
- From
Peter Krefting <peter@softwolves.pp.se>
- Date
- Nov 21, 2017, 12:07 UTC
- Message-ID
- <alpine.DEB.2.00.1711211303290.20686@ds9.cixit.se>
- In-Reply-To
- <CABPp-BE-bJnLTf7Y-6_uy=+QA2pi=6EAmGy8S2n7B5Ry8ckHuA@mail.gmail.com>
Elijah Newren:
> Sure, take a look at the big-repo-small-cherry-pick branch of > https://github.com/newren/git
With those changes, the time usage is the same as if I set merge.renameLimit=1 for the repository, and the end result is identical:
$ time /usr/local/stow/git-v2.15.0-323-g31fe956618/bin/git cherry-pick -x 717eb328940ca2e33f14ed27576e656327854b7b [redacted 19be3551bc] Redacted Author: Redacted <redacted> Date: Mon Oct 16 15:58:05 2017 +0200 1 file changed, 2 insertions(+), 2 deletions(-)
real 0m15,345s user 0m14,908s sys 0m0,528s
Thanks!
-- \\// Peter - http://www.softwolves.pp.se/