Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

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

From: <hidden>
Date: 2016-06-15 22:54:04

Junio C Hamano [off-list ref] a écrit :
It looks that editing

    pick foo            pick foo
    exec cmd1           exec cmd1 && cmd2
    exec cmd2
    pick bar            pick bar
    exec cmd1           exec cmd1 && cmd2
    exec cmd2

to

    pick foo            pick foo
                        exec         cmd2
    exec cmd2
    pick bar            pick bar
    exec cmd1           exec cmd1

would take exactly the same effort, at least to me.  And more
importantly, without editing don't they do *exactly* the same thing?
If cmd1 fails, the sequencing stops at that step without running cmd2.
True. I was thinking under the fact that the user would edit the commands
by himself but the purpose of the "--exec" option is to avoid that (or at
least that the user won't have to type all by himself). Forget what I said
then :).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help