Re: [BUG] - git rebase -i performs rebase when it shouldn't?
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Apr 10, 2010, 19:58 UTC
- Message-ID
- <4BC0D87E.70001@kdbg.org>
- In-Reply-To
- <7vsk73zzt1.fsf@alter.siamese.dyndns.org>
Am 10.04.2010 06:39, schrieb Junio C Hamano:
Show 12 quoted lines
> 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