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

Re: Wine + GIT

From
Junio C Hamano <junkio@cox.net>
Date
Dec 8, 2005, 18:17 UTC
Message-ID
<7v4q5jjvws.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20051208092945.GA4921@c165.ib.student.liu.se>
Fredrik Kuivinen <freku045@student.liu.se> writes:
> However, in some other cases such as rename/rename, file/directory and
> add/add conflicts "a~A" and "a~B" will be created in the working
> directory. The recursive strategy will (or, is supposed to) tell you
> about such things, though.

I think one reason for this was because read-tree -m was the only way to create higher stage entries in the index, and after detecting renames, the recursive merge strategy did not have a good way to insert these as different stages in the index.

I extended update-index --index-info a little bit to let people insert higher stage entries in the index, so we could if we wanted to.

Here are the differences I know about between resolve and recursive other than ~A ~B:

 - in add/add case, merge-one-file tries to be cuter and leaves
   conflict-marked merge result.
 - content conflict in a renamed path gets its index entry
   collapsed, unlike other content conflicts.
Previous: Fredrik Kuivinen
Message 3 of 3 in “Re: Wine + GIT”
  1. linux@horizon.comDec 8, 2005
  2. Fredrik KuivinenDec 8, 2005
  3. Junio C HamanoDec 8, 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.