mbox series

[0/2] Fix mergetool.vimdiff.layout when "@" is used on REMOTE

Message ID 20250325222311.400748-1-greenfoo@u92.eu (mailing list archive)
Headers show
Series Fix mergetool.vimdiff.layout when "@" is used on REMOTE | expand

Message

Fernando March 25, 2025, 10:23 p.m. UTC
The "mergetool.vimdiff.layout" config option accepts a "@" marker on one of the
possible targets ("LOCAL", "BASE", "REMOTE" or "MERGED") to specify which window
(or tab or buffer) will be used to overwrite the file which conflicts we are
trying to solve.

The problem is that it never really worked when used with "MERGED" (for all the
others it worked fine).

In this patch series we are fixing that and adding some unit tests to make sure
we never break this again in the future.

Fernando Ramos (2):
  mergetools: vimdiff: fix layout where REMOTE is the target
  mergetools: vimdiff: add tests for layout with REMOTE as the target

 mergetools/vimdiff | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)


base-commit: 683c54c999c301c2cd6f715c411407c413b1d84e

Comments

Fernando March 26, 2025, 10:10 a.m. UTC | #1
> The problem is that it never really worked when used with "MERGED" (for all the
> others it worked fine).

Sorry, I meant "REMOTE" instead of "MERGED".

This is a typo in the cover letter.
The rest of the patch series is OK.