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

ag/merge-strategies-in-c [was Re: What's cooking in git.git (Nov 2020, #04; Thu, 19)]

From
Alban Gruin <alban.gruin@gmail.com>
Date
Nov 22, 2020, 12:43 UTC
Message-ID
<8c92f1d0-3f17-d8b2-ca93-c70ee887f37d@gmail.com>
In-Reply-To
<xmqqwnyeqpw9.fsf@gitster.c.googlers.com>
Hi Junio,
Le 21/11/2020 à 23:57, Junio C Hamano a écrit :
Show 17 quoted lines
> * ag/merge-strategies-in-c (2020-11-16) 12 commits
>  - sequencer: use the "octopus" merge strategy without forking
>  - sequencer: use the "resolve" strategy without forking
>  - merge: use the "octopus" strategy without forking
>  - merge: use the "resolve" strategy without forking
>  - merge-octopus: rewrite in C
>  - merge-recursive: move better_branch_name() to merge.c
>  - merge-resolve: rewrite in C
>  - merge-index: don't fork if the requested program is `git-merge-one-file'
>  - merge-index: libify merge_one_path() and merge_all()
>  - merge-one-file: rewrite in C
>  - update-index: move add_cacheinfo() to read-cache.c
>  - t6027: modernise tests
> 
>  The resolve and octopus merge strategy backends have been rewritten
>  in C.
> 

There is some behaviour changes and regressions in this iteration that I intend to fix. Expect a reroll soon.

I also noticed that I can show which branch has made a branch when there is a conflict with the "resolve" strategy, like "recursive" already does. Should this change be part of this series, or should it be a separate patch?

Cheers, Alban

Previous: René ScharfeNext: Junio C Hamano
Message 3 of 4 in “What's cooking in git.git (Nov 2020, #04; Thu, 19)”
  1. Junio C HamanoNov 21, 2020
  2. René ScharfeNov 22, 2020
  3. ag/merge-strategies-in-c [was Re: What's cooking in git.git (Nov 2020, #04; Thu, 19)]Alban Gruin, Nov 22, 2020
  4. Junio C HamanoNov 23, 2020

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.