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

Re: [PATCH v2] merge-ort: turn submodule conflict suggestions into an advice

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 26, 2024, 18:34 UTC
Message-ID
<xmqq34tfnkh1.fsf@gitster.g>
In-Reply-To
<c00617b0-b673-b52c-db15-278a67370e75@gmail.com>
Philippe Blain <levraiphilippeblain@gmail.com> writes:
Show 20 quoted lines
> Hi Junio,
>
> Le 2024-02-26 à 11:22, Junio C Hamano a écrit :
>> "Philippe Blain via GitGitGadget" <gitgitgadget@gmail.com> writes:
>> 
>>> From: Philippe Blain <levraiphilippeblain@gmail.com>
>>>
>>> Add a new advice type 'submoduleMergeConflict' for the error message
>>> shown when a non-trivial submodule conflict is encountered, which was
>>> added in 4057523a40 (submodule merge: update conflict error message,
>>> 2022-08-04). That commit mentions making this message an advice as
>>> possible future work. Only show the advice if it is enabled.
>> 
>> When specifically called out like this, it makes it sound as if this
>> one is disabled by default, while everybody else is enabled unless it
>> is disabled.
>
> Yes, re-reading myself, this did not come out as I wanted. I'll update
> the message to read more like "Adjust merge-ort.c::print_submodule_conflict_suggestion 
> to use the advice API" or something like this.

I've replaced the last sentence with """The message can now be disabled with the advice mechanism."""

    
Previous: Philippe Blain
Message 5 of 5 in “merge-ort: turn submodule conflict suggestions into an advice”
  1. merge-ort: turn submodule conflict suggestions into an advicePhilippe Blain via GitGitGadget, Jan 29, 2024
  2. merge-ort: turn submodule conflict suggestions into an advicePhilippe Blain via GitGitGadget, Feb 26, 2024
  3. Junio C HamanoFeb 26, 2024
  4. Philippe BlainFeb 26, 2024
  5. Junio C HamanoFeb 26, 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.