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

Re: Octopus merge

From
Thomas Rast <trast@student.ethz.ch>
Date
Nov 26, 2009, 16:44 UTC
Message-ID
<200911261744.56913.trast@student.ethz.ch>
In-Reply-To
<4B0EA512.1050001@loria.fr>
Claudia.Ignat@loria.fr wrote:
Show 7 quoted lines
> 
> While I am in the current workspace ws3 I perform the merge
> 
> git merge ws4 ws2 ws5
> 
> Obviously I obtain conflicts between changes in ws3 and ws2 which I fix 
> manually and afterwards I commit the new version of ws3.

In doing that last step, you ignored the crucial bit of advice printed by the octopus merge:

  Automated merge did not work.
  Should not be doing an Octopus.		# <<--
  Merge with strategy octopus failed.

You should simply merge and resolve them separately, not least of all because in doing so, 'git show $merge' will display your merge resolutions. An octopus would tangle all resolutions into a single commit.

AFAIK the only thing that can be considered a bug here is that the octopus strategy leaves your worktree in need of 'reset --hard'.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: claudia.ignat@loria.frNext: Michael J Gruber
Message 2 of 4 in “Octopus merge”
  1. claudia.ignat@loria.frNov 26, 2009
  2. Thomas RastNov 26, 2009
  3. Michael J GruberNov 26, 2009
  4. claudia.ignat@loria.frDec 9, 2009

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.