git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Fernando Ramos <greenfoo@u92.eu>
Date
Mar 25, 2025, 22:23 UTC
Message-ID
<20250325222311.400748-1-greenfoo@u92.eu>

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
-- 
2.49.0
Next: Fernando Ramos
Message 1 of 6 in “Fix mergetool.vimdiff.layout when "@" is used on REMOTE”
  1. 0/2 Fix mergetool.vimdiff.layout when "@" is used on REMOTEFernando Ramos, Mar 25, 2025
  2. 1/2 mergetools: vimdiff: fix layout where REMOTE is the targetFernando Ramos, Mar 25, 2025
  3. D. Ben KnobleMar 29, 2025
  4. Junio C HamanoMar 29, 2025
  5. 2/2 mergetools: vimdiff: add tests for layout with REMOTE as the targetFernando Ramos, Mar 25, 2025
  6. FernandoMar 26, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.