git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Difference between 'git rebase' and 'git rebase -m'

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Nov 17, 2010, 14:38 UTC
Message-ID
<AANLkTikY0BE-PMP5TpAjL2TOYBQ-sTAAka2Gt6f8qd3P@mail.gmail.com>
In-Reply-To
<4CE3DA66.80808@drmicha.warpmail.net>

On Wed, Nov 17, 2010 at 8:36 PM, Michael J Gruber <git@drmicha.warpmail.net> wrote:

Show 16 quoted lines
> Nguyen Thai Ngoc Duy venit, vidit, dixit 17.11.2010 12:43:
>> On Wed, Nov 17, 2010 at 1:27 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
>>> Joshua Jensen wrote:
>>>
>>>> I'm curious as to why 'git rebase -m' isn't the default and what the
>>>> real difference is between 'git rebase' and 'git rebase -m'.
>>>
>>> git rebase is faster. :)
>>
>> Perhaps a config option to let people to default to -m. Or perhaps
>> they can just make an alias.
>>
>> By the way, can we make rebase even faster? Rebasing ~20 patches or
>> more seems slow to me. I don't know much how patching works though.
>
> git sequencer...

Sequencer is definitely an improvement. But does it improve performance? I don't know rebase internals but I think that it needs to update worktree/index for every commit, which might slow things down a bit.

-- 
Duy
Previous: Michael J Gruber
Message 5 of 5 in “Difference between 'git rebase' and 'git rebase -m'”
  1. Joshua JensenNov 16, 2010
  2. Jonathan NiederNov 16, 2010
  3. Nguyen Thai Ngoc DuyNov 17, 2010
  4. Michael J GruberNov 17, 2010
  5. Nguyen Thai Ngoc DuyNov 17, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.