Re: very slow cherry-pick'ing (old-2.6-bkcvs tree)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Erez Zadok <ezk@...>
Cc: <git@...>
Date: Friday, September 7, 2007 - 12:42 am

Erez Zadok <ezk@cs.sunysb.edu> wrote:

I'm guessing its due to rename detection.

git-cherry-pick is implemented in terms of git-merge-recursive,
which always does rename detection when files are deleted or added.
This can take some considerable time if there's a lot of files that
have been added/deleted.

What would probably be faster would be to dump the patches in
question using git-format-patch and then apply them using git-am.
This bypasses the rename detection as it is using strictly a diff
and an apply.

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
very slow cherry-pick'ing (old-2.6-bkcvs tree), Erez Zadok, (Thu Sep 6, 7:51 pm)
Re: very slow cherry-pick'ing (old-2.6-bkcvs tree), Johannes Sixt, (Fri Sep 7, 3:27 am)
Re: very slow cherry-pick'ing (old-2.6-bkcvs tree), Shawn O. Pearce, (Fri Sep 7, 12:42 am)