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

Re: Odd rebase behavior

From
David A. Greene <greened@obbligato.org>
Date
Dec 18, 2015, 17:43 UTC
Message-ID
<nngmvt73b63.fsf@lnx-dag.us.cray.com>
In-Reply-To
<20151216221716.GD1581@serenity.lan>
John Keeping <john@keeping.me.uk> writes:
> It seems that the problem is introduces by --preserve-merges (and
> -Xsubtree causes something interesting to happen as well).  I see the
> following behaviour:

Thanks for narrowing this down! Is it possible this is actually a cherry-pick problem since --preserve-merges forces rebase to use cherry-pick?

Show 6 quoted lines
> git rebase -Xsubtree=files_subtree --onto files-master master
>
> 	fatal: Could not parse object 'b15c4133fc3146e1330c84159886f0f7a09fbf43^'
> 	Unknown exit code (128) from command: git-merge-recursive
> b15c4133fc3146e1330c84159886f0f7a09fbf43^ -- HEAD
> b15c4133fc3146e1330c84159886f0f7a09fbf43

Ah, good! I had seen this behavior as well but couldn't remember what I did to trigger it.

I don't think I have the expertise to fix rebase and/or cherry-pick. What's the process for adding these tests to the testbase and marking them so the appropriate person can fix them? I see a lot of TODO tests. Should I mark these similarly and propose a patch to the testbase?

                             -David
Previous: John KeepingNext: John Keeping
Message 3 of 6 in “Odd rebase behavior”
  1. David A. GreeneDec 16, 2015
  2. John KeepingDec 16, 2015
  3. David A. GreeneDec 18, 2015
  4. John KeepingDec 18, 2015
  5. Johannes SixtDec 18, 2015
  6. John KeepingDec 19, 2015

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.