git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] - git rebase -i performs rebase when it shouldn't?
@ 2010-04-09 19:35 Eugene Sajine
  2010-04-10  4:26 ` Jeff King
  0 siblings, 1 reply; 19+ messages in thread
From: Eugene Sajine @ 2010-04-09 19:35 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-04-14  6:08 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-09 19:35 [BUG] - git rebase -i performs rebase when it shouldn't? Eugene Sajine
2010-04-10  4:26 ` Jeff King
2010-04-10  4:39   ` Junio C Hamano
2010-04-10  4:47     ` Jeff King
2010-04-10 19:58     ` Johannes Sixt
2010-04-11 10:15       ` Jeff King
2010-04-11 17:54         ` Johannes Sixt
2010-04-12  1:01           ` Jeff King
2010-04-12 10:50       ` Michal Vitecek
2010-04-12 17:39         ` Johannes Sixt
2010-04-10 22:10   ` Eugene Sajine
2010-04-11 10:22     ` Jeff King
2010-04-11 14:06       ` Eugene Sajine
2010-04-12 14:09         ` Eugene Sajine
2010-04-12 15:13           ` Johannes Sixt
2010-04-12 15:28             ` Eugene Sajine
2010-04-12 15:47               ` Johannes Sixt
2010-04-13 16:30                 ` Eugene Sajine
2010-04-14  6:08                   ` Johannes Sixt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).