From: Phillip Wood Date: Mon, 05 Oct 2026 15:09:16 GMT Subject: Re: [PATCH v2 0/2] checkout -m: recreate conflict labels Message-ID: <1221dced-b3d1-4e44-af60-eac342b891b6@gmail.com> In-Reply-To: On 05/10/2026 15:48, Johannes Sixt wrote: > Am 05.10.26 um 15:24 schrieb Phillip Wood: >> As "git checkout -m" is recreating the original conflict I wonder >> if we should remember the conflict style as well so that >> >> git -c merge.conflictStyle=diff3 git merge topic >> git checkout -m >> >> would recreate diff3 style conflicts, instead of using the default >> config. I cannot decide if that would be convenient or confusing and >> am interested to hear what others think. > > I think it hurts more than it helps. For example, I usually get away > with the regular conflict markers, but at times I might decide to see > the diff3 version. Then I could change the conflict marker style with > > git checkout --conflict=diff3 -m > > It would be disappointing if this were not possible. I do the same thing. What I'm talking about above is "git checkout -m" using the same conflict style as the command that created the conflicts when the user does not specify a conflict style for the checkout. git checkout --conflict=