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

Re: [PATCH v2] merge-recursive: honor diff.algorithm

From
Antonin Delpeuch <antonin@delpeuch.eu>
Date
Jul 13, 2024, 16:50 UTC
Message-ID
<9ff7c0e6-af29-48a2-bec7-be4554681671@delpeuch.eu>
In-Reply-To
<xmqqmsmpw2mp.fsf@gitster.g>
On 10/07/2024 19:58, Junio C Hamano wrote:
Show 7 quoted lines
> Since be733e12 (Merge branch 'en/merge-tree', 2022-07-14),
> merge-tree is no longer an interrogator but works as an manipulator.
> As it is meant to be used as a building block that gives a reliable
> and repeatable output, I am tempted to say it should be categorized
> as a plumbing, but second opinions do count.  Elijah Cc'ed as it was
> his "fault" to add "--write-tree" mode to the command and forgetting
> to update command-list.txt ;-)

I'm happy to change it to use the "basic" config if you prefer. I have to admit I don't have a good overview of what's porcelain or plumbing.

> Isn't log-tree shared with things like "git diff-tree" porcelain?

I'm happy to also change this, but looking at the call hierarchy we seem to have a complicated entanglement of porcelain and plumbing commands here, so to separate them is probably more involved.

> Can't we save the scarce resource that is test number
> and make these not about "I test cherry-pick" and "I test merge"?

Yes I agree, let me submit a new patch which does that already. I wasn't sure if it was worth including tests for different commands anyway.

Antonin
Previous: Antonin Delpeuch via GitGitGadget
Message 7 of 7 in “merge-recursive: honor diff.algorithm”
  1. merge-recursive: honor diff.algorithmAntonin Delpeuch via GitGitGadget, Jul 8, 2024
  2. Antonin DelpeuchJul 9, 2024
  3. Junio C HamanoJul 9, 2024
  4. merge-recursive: honor diff.algorithmAntonin Delpeuch via GitGitGadget, Jul 9, 2024
  5. Junio C HamanoJul 10, 2024
  6. merge-recursive: honor diff.algorithmAntonin Delpeuch via GitGitGadget, Jul 13, 2024
  7. Antonin DelpeuchJul 13, 2024

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.