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

Re: [RFC PATCH] mergetools/vimdiff: add vimdiff4 merge tool variant

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 25, 2021, 18:18 UTC
Message-ID
<xmqqk0i10xzt.fsf@gitster.g>
In-Reply-To
<CAJDDKr5frTgh4_x5yvskJfppew3ntvpgBe9MnUB9CfGQaw1TLQ@mail.gmail.com>
David Aguilar <davvid@gmail.com> writes:
> I'm personally not opposed to the vimdiff4 variants (we already have 3
> others) but what I think might be missing is a bit of documentation
> that documents the builtin tools and their variants.

Hmph, are we encouraging everybody to add yet another variant? I wonder if we can stop at adding a single "vimdiffX" variant that takes the layout information (like the one this vimdiff4 passes to the underlying tool via the command line option) in a configuration variable and stop adding more variants, or is vim's specification of the layout we use here via the command line not flexible enough to serve all future needs? I also wonder if all the existing vimdiff variants can be done in terms of such a vimdiffX implementation.

Show 9 quoted lines
> Right now git-mergetool.txt includes config/mergetool.txt for
> documenting its config variables. It might be worth having a common
> "mergetools.txt" where the builtin tools and variants can be
> documented and then we can include that file from both
> git-mergetool.txt and git-difftool.txt.
>
> That would be a good place to write up the differences between the
> variants, and the diagram you included in the commit message would be
> helpful there as well.
Yup, in any case, I do like the suggestion to document the variants.
Thanks, both.
Previous: David AguilarNext: Fernando Ramos
Message 4 of 6 in “mergetools/vimdiff: add vimdiff4 merge tool variant”
  1. mergetools/vimdiff: add vimdiff4 merge tool variantFernando Ramos, Oct 19, 2021
  2. Fernando RamosOct 19, 2021
  3. David AguilarOct 24, 2021
  4. Junio C HamanoOct 25, 2021
  5. Fernando RamosOct 25, 2021
  6. Junio C HamanoOct 27, 2021

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.