[RFH] git cherry-pick takes forever
From: Michal Vitecek <hidden>
Date: 2016-06-15 22:45:20
Hello everyone,
I have two git repositories: one is the origin of the other. However no
merging is being done as the projects in the repositories quite differ
but still use the same core. So to propagate changes I cherry-pick
those which are useful from one repository to another.
however 'git cherry-pick' has lately started to last almost forever:
$ time git cherry-pick b42b77e66a83f1298d9900a9bb1078b9b42e8618
Finished one cherry-pick.
Created commit 7caef83: - removed some superfluous newlines
2 files changed, 0 insertions(+), 2 deletions(-)
git cherry-pick b42b77e66a83f1298d9900a9bb1078b9b42e8618 282.97s user 34.69s system 100% cpu 5:17.63 total
Both repositories have approximately 16k commits and their forking
point (merge base) is 250 to 490 commits far away. 'git gc' (even
--prune) has been run.
What can I do to make the 'git cherry-pick' instant again?
Thank you,
P.S.: I'm using git-1.6.0.1.
--
Michal Vitecek (fuf@mageo.cz)