Re: git rebase -i slow for a reason ?

Previous thread: Replication of shared repositories by cdossantos on Tuesday, April 13, 2010 - 12:45 am. (2 messages)

Next thread: [EXPERIMENTAL PATCH] S-expression structured output backend by Ilari Liusvaara on Tuesday, April 13, 2010 - 3:23 am. (2 messages)
From: Mike Hommey
Date: Tuesday, April 13, 2010 - 3:04 am

Hi,

Most of the time, I run git rebase with -i, so while it is slow, I
always assumed there was somehow a reason.

For some reason, today, I was running some git rebase without -i, and
then the same rebases with -i, but without changing the pick list. While
the git rebase without -i were almost instant, git rebase -i was as slow
as usual, which is very far from instant.

Has anyone else seen such behaviour ?

Mike
--

From: Ramkumar Ramachandra
Date: Wednesday, April 14, 2010 - 9:50 pm

Technically, the interactive counterpart is simply a shell script that
calls the git-rebase binary along with a bunch of other things. See
git-rebase--interactive in the the source tree. Your observations
about speed mainly have to do with how the interactive counterpart
recursively cherry-picks and rebases.

-- Ram
--

Previous thread: Replication of shared repositories by cdossantos on Tuesday, April 13, 2010 - 12:45 am. (2 messages)

Next thread: [EXPERIMENTAL PATCH] S-expression structured output backend by Ilari Liusvaara on Tuesday, April 13, 2010 - 3:23 am. (2 messages)