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

git 2.9 subtree split with rejoin

From
SGSylvain Garrigues <sylgar@gmail.com>
Date
Jul 31, 2016, 14:32 UTC
Message-ID
<1BED74C8-2E4C-4CA7-B785-F0666B69C1A7@gmail.com>
Hello,

It seems now with 2.9 you cannot use git subtree split —rejoin without —onto otherwise you get: fatal: refusing to merge unrelated histories

I wish I could pass --allow-unrelated-histories but that doesn’t work.
Adding —onto makes the split operation much much longer. Could we make a bug fix which allow to pass the --allow-unrelated-histories flag to subtree split?

Thanks, Sylvain.

Next: Jakub Narębski
Message 1 of 2 in “git 2.9 subtree split with rejoin”
  1. Sylvain GarriguesJul 31, 2016
  2. Jakub NarębskiJul 31, 2016

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.