[BUG] - git rebase -i performs rebase when it shouldn't?
- From
- Eugene Sajine <euguess@gmail.com>
- Date
- Apr 9, 2010, 19:35 UTC
- Message-ID
- <z2q76c5b8581004091235ucd9b2a52i223b3191b288c42a@mail.gmail.com>
Hi,
In case of this situation
A master \ B next \ C topic
$ git rebase --onto master topic First, rewinding head to replay your work on top of it... fatal: Not a range. Nothing to do.
Which is OK.
When I fired up interactive rebase, it printed me “noop”, so I was expecting it to do nothing and exited the vi, without deleting this "noop". But it did performed some operation and I actually have commit C lost, with topic pointing to the same commit as master.
$ git rebase -i --onto master topic Successfully rebased and updated refs/heads/topic.
I believe this is wrong.
Thanks, Eugene