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

Re: merge strategy request

From
DLDavid Lang <david.lang@digitalinsight.com>
Date
Mar 25, 2007, 06:25 UTC
Message-ID
<Pine.LNX.4.63.0703242220510.13287@qynat.qvtvafvgr.pbz>
In-Reply-To
<Pine.LNX.4.64.0703242130050.6730@woody.linux-foundation.org>
On Sat, 24 Mar 2007, Linus Torvalds wrote:
Show 14 quoted lines
> On Sun, 25 Mar 2007, Johannes Schindelin wrote:
>>
>> Basically, just write a program named "git-merge-david-lang", which takes
>> arguments of the form
>>
>> 	merge-base [merge-base2...] -- head remote [remote...]
>
> I think you are missing what David wants.
>
> David does *not* want a new global strategy. Adding those is fairly easy.
>
> David seem sto want a new per-file merge strategy, with the bog-standard
> recursive merge. We've talked about that possibility in the past, but we
> don't do it now. We always end up doing just the three-way merge.

right, I can see ways to further improve the merge for config files, but they wouldn't applty to most other types of files, so it would require support for per file merge options.

others have requested this in the past, this is just one more way that per-file merge options would be useful.

David Lang
Previous: Linus TorvaldsNext: Junio C Hamano
Message 5 of 10 in “merge strategy request”
  1. David LangMar 24, 2007
  2. Johannes SchindelinMar 25, 2007
  3. David LangMar 25, 2007
  4. Linus TorvaldsMar 25, 2007
  5. David LangMar 25, 2007
  6. Junio C HamanoMar 25, 2007
  7. Martin LanghoffMar 25, 2007
  8. David LangMar 25, 2007
  9. Junio C HamanoMar 25, 2007
  10. Martin LanghoffMar 26, 2007

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.