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

Re: Unexpected conflict with ort merge strategy?

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 11, 2021, 19:41 UTC
Message-ID
<xmqqfss2lbsv.fsf@gitster.g>
In-Reply-To
<CABPp-BFAf+-ULwtd7WowsN2KSeJ0s1ucZZ1QSRYg8J+wM9MrZw@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
Show 5 quoted lines
> TAKEAWAY: Whenever you are dealing with multiple files or directories
> that are near matches, the person doing merges/rebases/whatever really
> does need to be responsible to pay close attention to any such
> files/directories (and this is not new to merge-ort; it has always
> been an issue with merge-recursive as well).

One difference is that merge-recursive has fewer magic heuristics (for example, it did not have "my neighbours moved, so I should").

Less clever tools may burden the human users with more manual resolution in more cases, but when the heuristics work against the human user, it is easier to understand the situation (iow why/how the tool made a wrong decision) because they are more predictable.

It is a balancing act. We would prefer to see things more automated when there is no room for ambiguity, but a heuristics that works correctly 80% of the time would force human users to watch out for mistakes the tool may make in the 20% of the time, which means they need to look for mistakes in _all_ merges made by the tool, which is not something we would want. That is the takeaway.

Thanks.
Previous: Elijah NewrenNext: Tao Klerks
Message 3 of 5 in “Unexpected conflict with ort merge strategy?”
  1. Tao KlerksOct 19, 2021
  2. Elijah NewrenNov 11, 2021
  3. Junio C HamanoNov 11, 2021
  4. Tao KlerksApr 20, 2022
  5. Elijah NewrenApr 21, 2022

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.