From: Fernando Ramos Date: Thu, 15 Feb 2024 20:43:10 GMT Subject: Re: [PATCH v2] mergetools: vimdiff: use correct tool's name when reading mergetool config Message-ID: In-Reply-To: <20240215142002.36870-1-kipras@kipras.org> On 24/02/15 04:20PM, Kipras Melnikovas wrote: > The /mergetools/vimdiff script, which handles both vimdiff, nvimdiff > and gvimdiff mergetools (the latter 2 simply source the vimdiff script), has a > function merge_cmd() which read the layout variable from git config, and it > would always read the value of mergetool.**vimdiff**.layout, instead of the > mergetool being currently used (vimdiff or nvimdiff or gvimdiff). You are 100% right. I completely overlooked this detail in the original implementation. Thanks for the fix!