From: Junio C Hamano Date: Mon, 26 Feb 2024 18:34:02 GMT Subject: Re: [PATCH v2] merge-ort: turn submodule conflict suggestions into an advice Message-ID: In-Reply-To: Philippe Blain writes: > Hi Junio, > > Le 2024-02-26 à 11:22, Junio C Hamano a écrit : >> "Philippe Blain via GitGitGadget" writes: >> >>> From: Philippe Blain >>> >>> 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."""