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 ;-)