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

Re: [PATCH] rebase -i: abort cleanly if the editor fails to launch

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 20, 2009, 07:24 UTC
Message-ID
<7vmy1ecdlx.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.DEB.1.00.0912192156030.4985@pacific.mpi-cbg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> The non-existent editor also aborts with a non-zero status.

Thanks; that is a good point. Perhaps we might want to say what editor we tried to run in the error message.

>> An editor that can exit with non-zero status on demand could use this
>> codepath to abort the rebase,
>
> Removing all lines of the edit script will abort an interactive rebase.
I guess you replied too fast without reading the message to the end ;-)
Previous: Johannes SchindelinNext: Björn Gustavsson
Message 4 of 5 in “rebase -i: abort cleanly if the editor fails to launch”
  1. rebase -i: abort cleanly if the editor fails to launchBjörn Gustavsson, Dec 19, 2009
  2. Junio C HamanoDec 19, 2009
  3. Johannes SchindelinDec 19, 2009
  4. Junio C HamanoDec 20, 2009
  5. Björn GustavssonDec 20, 2009

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.