From: Matthieu Moy Date: Thu, 07 Jun 2012 13:43:13 GMT Subject: Re: [PATCHv2] rebase [-i --exec | -ix] ... Message-ID: In-Reply-To: <20120607140404.Horde.hAwfKHwdC4BP0Ji0lAVB6zA@webmail.minatec.grenoble-inp.fr> konglu@minatec.inpg.fr writes: > Johannes Sixt a écrit : > >> BTW, I don't think it is a good idea to dump the usage if -x was used >> without -i. > > In fact, that would be the next step, so that the "--exec" option could > be used without the interactive mode. I think Jeff meant that a short error message would be better than showing the complete usage instruction, which indeed is already the case: +if test -n "$cmd" && + test "$interactive_rebase" != explicit +then + die "--exec option must be used with --interactive option\n" +fi -- Matthieu Moy http://www-verimag.imag.fr/~moy/