git/list[1] front-page[2] threads[3] people[4] search[5] about
 

rebase -i does not use a commit it should

From
Kevin <ikke@ikke.info>
Date
Jan 3, 2012, 14:00 UTC
Message-ID
<CAO54GHB1uwJdjj0=dCVp_M4sAFtqooM9hnBSNurje2n+-dGDEA@mail.gmail.com>

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?
Next: Kevin
Message 1 of 3 in “rebase -i does not use a commit it should”
  1. KevinJan 3, 2012
  2. KevinJan 3, 2012
  3. KevinJan 3, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.