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

--trust-exit-code not working

From
AFAdria Farres <14farresa@gmail.com>
Date
Nov 14, 2014, 16:12 UTC
Message-ID
<20141114161235.GA30086@vimeitor>
Hello!,

I sent an email last week, but I'm not sure if I sent it incorrectly, or the formatting was very bad, or it went unnoticed. A few days ago a great soul was kind enough to create the --trust-exit-code option that made git respect the exit code of the difftool. Unfortunately, I haven't been able to make it work. Exiting vimdiff with :cq doesn't seem to make git quit, as it keeps pushing new files to be diffed. I tried meld and the exact same thing. I'm confident that exiting with :cq gives an error, as I have checked it, and I'm using git 2.2.0.rc1.

Am I missing something important? Has anyone managed to make it work with vimdiff and meld? Sorry for bringing that up so late and for being a disturbance.

Thank you,
Adria
Next: Junio C Hamano
Message 1 of 4 in “--trust-exit-code not working”
  1. Adria FarresNov 14, 2014
  2. Junio C HamanoNov 14, 2014
  3. David AguilarNov 14, 2014
  4. David AguilarNov 14, 2014

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.