From: Jared Hance Date: Sat, 31 Jul 2010 14:40:18 GMT Subject: Re: [RFC/PATCH] rebase -i: add run command to launch a shell command Message-ID: <20100731144008.GA10540@localhost.localdomain> In-Reply-To: <1280323784-27462-1-git-send-email-Matthieu.Moy@imag.fr> On Wed, Jul 28, 2010 at 03:29:44PM +0200, Matthieu Moy wrote: > + if ! eval "$rest" > + then > + warn "Command $rest failed" > + warn "You can fix the problem, and then run" > + warn > + warn " git rebase --continue" > + warn > + exit 0 > + fi If the command, stored in $rest, is rather long, perhaps "Command $rest failed" won't be friendly output. Perhaps: Command Failure: $rest