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

Re: [PATCH] mergetool-lib: call vim in readonly mode for diffs

From
David Aguilar <davvid@gmail.com>
Date
Feb 27, 2011, 22:33 UTC
Message-ID
<20110227223350.GA37866@gmail.com>
In-Reply-To
<7v62s7anp0.fsf@alter.siamese.dyndns.org>
On Fri, Feb 25, 2011 at 12:01:15PM -0800, Junio C Hamano wrote:
Show 8 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes:
> 
> > When [g]vimdiff is called for files which are opened already, the editor
> > complains about the existing swap file. But we do not want to write
> > anything when called from difftool. So, make difftool use "-R" for the
> > vim family.
> 
> Makes sense.  Maint-worthy?

I think this would be good in maint. thanks,

-- 
		David
Previous: Junio C Hamano
Message 4 of 4 in “Swap file trouble with gvimdiff”
  1. MarcoFeb 24, 2011
  2. mergetool-lib: call vim in readonly mode for diffsMichael J Gruber, Feb 25, 2011
  3. Junio C HamanoFeb 25, 2011
  4. David AguilarFeb 27, 2011

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.