Thread (5 messages) 5 messages, 2 authors, 2024-02-17

Re: [PATCH v2] mergetools: vimdiff: use correct tool's name when reading mergetool config

From: Fernando Ramos <hidden>
Date: 2024-02-15 20:43:16

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!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help