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

Re: [RFC] Looking at multiple ancestors in merge

From
Matthias Urlichs <smurf@smurf.noris.de>
Date
Aug 25, 2005, 06:56 UTC
Message-ID
<pan.2005.08.25.06.56.22.883900@smurf.noris.de>
In-Reply-To
<Pine.LNX.4.63.0508250108100.23242@iabervon.org>
Hi, Daniel Barkalow wrote:
> My proposal is actually to detect when a merge is ambiguous. In order to
> determine that, however, you have to evaluate multiple potential outcomes
> and see if they are actually different. I'm working on an efficient way to
> do that.
Good.

There's also a related problem which I've hit last month or so, where one view has the same file (or at least one with the same name) added to both sides of the branch, but the other view doesn't.

Unfortunately, that can happen to both branches independently, so you really need to choose a merge base per file instead of globally. I suspect that many of the problem cases simply go away when you do that.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Jones' Second Law:
	The man who smiles when things go wrong has thought of someone
	to blame it on.
Previous: Daniel BarkalowNext: Daniel Barkalow
Message 4 of 7 in “[RFC] Looking at multiple ancestors in merge”
  1. Daniel BarkalowAug 25, 2005
  2. A Large Angry SCMAug 25, 2005
  3. Daniel BarkalowAug 25, 2005
  4. Matthias UrlichsAug 25, 2005
  5. Daniel BarkalowAug 26, 2005
  6. Junio C HamanoAug 26, 2005
  7. Daniel BarkalowAug 26, 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.