threads / discuss / 29284

rebase -i does not use a commit it should

Subject: rebase -i does not use a commit it should

## tl;dr

3 messages between Jan 3, 2012 and Jan 3, 2012.

replies: 2people: 1as markdown or json

Kevin· Jan 3, 2012, 14:00 UTC · lore

I tried to rebase some commits, when I found out it didn't pick all commits it should.

A distiled situation is this:
A (issues/links_footer)
B (issues/links-footer)
C
|  D (master)
|  |
|  |
|  |
|  |
| /
*

Here is the output of git log --graph --oneline --format="%h %d" master HEAD http://paste.pocoo.org/show/529305/

And this is the output of git log --oneline --format="%h" master..

7fb46fd 6efa164 50b5950

When I do git rebase -i master, it only shows the top 2 commits, but if I do git rebase -i 50b5950^, it does show all three committs.

Anyone knows whats going wrong?
Kevin· Jan 3, 2012, 14:18 UTC · re: Kevin · lore

Re: rebase -i does not use a commit it should

Ok, problem solved.

The issue was already present in the history of master, and thus it would not be applied again.

On Tue, Jan 3, 2012 at 3:04 PM, Kevin <ikke@ikke.info> wrote:
> Using git version 1.7.8

← back to recent threads