Subject: Re: [BUG] - git rebase -i performs rebase when it shouldn't?

From: Johannes Sixt <[email-masked]>
Date: Sat, 10 Apr 2010 21:58:54 +0200

Am 10.04.2010 06:39, schrieb Junio C Hamano:
> I used to religiously rebase slushy topics that are not in any stable
> integration branches (we used to have only 'master' and 'pu'), and
>
> 	git rebase master foo
>          git rebase master bar
>          git rebase master baz
>
> was far easier to type than
>
> 	git checkout foo&&  git rebase master
> 	git checkout bar&&  git rebase master
> 	git checkout baz&&  git rebase master

I'm actually very glad that the current interface is the way it is - 
because it can do the rebase *without* the checkout. This way you can save 
a lot of recompilation due to changed timestamps if the topic is based on 
an old version.

Only that some (all?) variants of rebase still unnecessarily do the 
checkout...

Oh, and it would naturally extend to a master..topic syntax.

-- Hannes