Re: [PATCHv2] rebase [-i --exec | -ix] <CMD>...
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 7, 2012, 13:43 UTC
- Message-ID
- <vpqobov5jbi.fsf@bauges.imag.fr>
- In-Reply-To
- <20120607140404.Horde.hAwfKHwdC4BP0Ji0lAVB6zA@webmail.minatec.grenoble-inp.fr>
konglu@minatec.inpg.fr writes:
Show 7 quoted lines
> Johannes Sixt <j6t@kdbg.org> 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/