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

Re: [PATCH v5 1/3] vimdiff: new implementation with layout support

From
Fernando <greenfoo@u92.eu>
Date
Mar 24, 2022, 20:50 UTC
Message-ID
<YjzZlAqlH6bXh8+4@zacax395.localdomain>
In-Reply-To
<xmqqee2rl2cg.fsf@gitster.g>
Show 8 quoted lines
> > In any case, if anyone knows how we could achieve the same without using
> > external commands, please let me know and I'll change it (in the meantime I'll
> > keep searching for alternatives too). If after a reasonable amount of time none
> > of us manages to find a solution I suggest to leave it as it is now.
> 
> I already said that this is good enough for now, didn't I?  But see
> below, and do not use it, it should work but it is uglier than a
> simple single liner pipe.

Hats off to the clever usage of "???..." as a regex to remove the characters that are not part of the desired substring.

> > Should this be considered enough test for backwards compatibility?
> 
> Yes, with a bit to extend the proposed log message to help #1, and a
> bit of comments next to the test cases to help #2.
Good idea. I'll add both to v6.
Thanks for your feedback!
Previous: Junio C HamanoNext: Fernando Ramos
Message 6 of 8 in “vimdiff: new implementation with layout support”
  1. 0/3 vimdiff: new implementation with layout supportFernando Ramos, Mar 19, 2022
  2. 1/3 vimdiff: new implementation with layout supportFernando Ramos, Mar 19, 2022
  3. Junio C HamanoMar 23, 2022
  4. FernandoMar 24, 2022
  5. Junio C HamanoMar 24, 2022
  6. FernandoMar 24, 2022
  7. 2/3 vimdiff: add tool documentationFernando Ramos, Mar 19, 2022
  8. 3/3 vimdiff: integrate layout tests in the unit tests framework ('t' folder)Fernando Ramos, Mar 19, 2022

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.