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

Conflict-free merging (i.e. concat) of conflicting branches?

From
Richard Hartmann <richih.mailinglist@gmail.com>
Date
Nov 16, 2008, 13:50 UTC
Message-ID
<2d460de70811160550g75e50e00gb50d3b2045c460af@mail.gmail.com>
Please keep the CC intact if possible.
Hi all,

the vim_extended repo, a collection of patchsets against Vim, allows users to merge different patchsets on top of a current vanilla Vim. To keep track of which patches are merged, we would want to use a special variable designated by Vim for this purpose.

For example, branch a would have file foo with line 100:
$patches .= " with_patch_a";
branch b would have file foo with line 100:
$patches .= " with_patch_b";
etc, etc.

The question is if there is a way to to merge these branches in a way that is conflict-free and includes all lines. Obviously, the order of the lines is irrelevant and can be random.

Thanks for all thoughts, Richard

Next: Samuel Tardieu
Message 1 of 5 in “Conflict-free merging (i.e. concat) of conflicting branches?”
  1. Richard HartmannNov 16, 2008
  2. Samuel TardieuNov 16, 2008
  3. Richard HartmannNov 16, 2008
  4. Junio C HamanoNov 16, 2008
  5. Richard HartmannNov 16, 2008

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.