Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] rebase [-i --exec | -ix] <CMD>...

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:59

konglu@minatec.inpg.fr writes:
But shouldn't we keep the "test `expr substr "$2" 1 1` = -" part so that
options can't be right after the "--exec" ?
No.  We have no reason to forbid users from giving their commands
names that begin with "-", and if it is a typo, "exec" machinery
will catch it and tell the user "no such command".  I do not see any
good reason to be clever in the part of the command parsing loop
that handles "--exec <cmd>" option.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help