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

Re: Three-way merge with the index as one way

From
Junio C Hamano <junkio@cox.net>
Date
Nov 4, 2005, 19:05 UTC
Message-ID
<7vslucutbs.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20051103003423.GH1431@pasky.or.cz>
Petr Baudis <pasky@suse.cz> writes:
> I wanted to make tree_timewarp do three-way merge, but didn't figure a
> good way to do it. First, what do I want - a two-way merge between two
> trees, which will however respect (not die on) local changes in the
> working tree.

I remember that we used to have --emu23 flag to read-tree. It was yanked out when we did multi-merge-base conversion, because nobody was using it, but I wonder if that is close to what you are looking for.

$ git whatchanged -S--emu23 read-tree.c

tells me that 32192e6622d78347448cfc0572827d6e64e0de28 commit completed it and ee6566e8d70da682ac4926dd8a67ac821b2c1743 commit removed it.

Previous: Junio C Hamano
Message 9 of 9 in “getting rid of extra directories”
  1. Zack BrownOct 15, 2005
  2. Junio C HamanoOct 15, 2005
  3. Zack BrownOct 15, 2005
  4. Junio C HamanoOct 15, 2005
  5. Three-way merge with the index as one wayPetr Baudis, Nov 3, 2005
  6. Junio C HamanoNov 3, 2005
  7. Petr BaudisNov 3, 2005
  8. Junio C HamanoNov 3, 2005
  9. Junio C HamanoNov 4, 2005

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.