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, 01:18 UTC
Message-ID
<Pine.LNX.4.63.0703241716410.12986@qynat.qvtvafvgr.pbz>
In-Reply-To
<Pine.LNX.4.63.0703250315461.4045@wbgn013.biozentrum.uni-wuerzburg.de>
On Sun, 25 Mar 2007, Johannes Schindelin wrote:
Show 23 quoted lines
> On Sat, 24 Mar 2007, David Lang wrote:
>
>> there's been talk about custom merge strategies for different types of
>> files (uncompressing office documents to merge them for example), so I
>> think this is along the same lines and wanted to let other people start
>> thinking about the problem and possible solutions.
>
> There is a nice example script, named git-merge-stupid, which you can
> use as template.
>
> Basically, just write a program named "git-merge-david-lang", which takes
> arguments of the form
>
> 	merge-base [merge-base2...] -- head remote [remote...]
>
> IOW, all arguments up to "--" are merge bases, and after the "--" comes
> the HEAD and all branches to be merged. All of these argument (except
> "--") are given as commit hashes.
>
> IIRC, if no merge bases are passed, the program is expected to find out
> (basically, take the output of "git-merge-base --all <head> <remote>...").
>
> And I really prefer _you_ working on it.
I'll add it to my backlog of projects that I'd like to do someday ;-)

unfortunantly it's not likely to be anytime soon (too many things on the list ahead of it)

David Lang
Previous: Johannes SchindelinNext: Linus Torvalds
Message 3 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.