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

Re: [PATCH] merge-recursive: configurable 'merge' program

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 5, 2006, 14:07 UTC
Message-ID
<Pine.LNX.4.63.0612051459380.28348@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<200612051123.33210.jnareb@gmail.com>
Hi,
On Tue, 5 Dec 2006, Jakub Narebski wrote:
> By the way, is it [ed: xdl_merge()] replacement for RCS merge, i.e. is 
> it file-level merge tool, merge.onefile rather than merge.tool?
It is a C function, but yes, it does what RCS merge does.
> What happens if there are multiple merge [contents] conflicts: is 
> merge.tool invoked in parallel for each conflict, or is it waiting for 
> earlier merge.tool to finish (well, in which case we can always do set 
> merge.tool to "<program> &")?

Recursively. It is merge-recursive, so the merges are done sequentially. (Have to be, since the result of one merge is reused as one input for the next merge.)

> And is merge.tool invoked for recursive part of recursive merge 
> strategy?
Yes.
> This merge startegy depended on resolving conflict markers, i.e. had 
> built-in knowledge of 'merge'/'diff3 -E' output.

No. git-merge-recursive never resolved conflict markers, but treated them as text.

> Besides, it would be useful not only to spawn interactive merge tools, 
> but also to use mergers specific for file-type, for example 3DM or 
> xmlcmp tools for merging XML files.

If you need that, write a wrapper script, which detects the file type and execs the corresponding merge program.

Ciao, Dscho

Previous: Jakub NarebskiNext: Jakub Narebski
Message 5 of 8 in “merge-recursive: configurable 'merge' program”
  1. merge-recursive: configurable 'merge' programSam Vilain, Dec 4, 2006
  2. Jakub NarebskiDec 5, 2006
  3. Johannes SchindelinDec 5, 2006
  4. Jakub NarebskiDec 5, 2006
  5. Johannes SchindelinDec 5, 2006
  6. Jakub NarebskiDec 5, 2006
  7. Johannes SchindelinDec 5, 2006
  8. Jakub NarebskiDec 5, 2006

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.