From: Matthieu Moy Date: Sun, 06 May 2012 10:03:49 GMT Subject: Re: Feature idea: git rebase --exec $CMD Message-ID: In-Reply-To: <20120505132650.637c4e06086654e0dbf641fc@studenti.unina.it> Antonio Ospite writes: > Maybe this -x option should conflict with -i to simplify its "execute > the command after each commit" semantics (what if it is combined with -i > and 'x/exec' lines?). Actually, implementation-wise, it's simpler to have '-x' imply '-i', and suggest a todo-list containing 'x' lines. Then, the code would simply have to add these "x whatever" lines, and let the "git-rebase--interactive.sh" mechanics do the job. That would show the "x whatever" lines to the user, but that can be seen as added value, since it gives an opportunity to the user to remove or edit some of them if needed. I'm not familiar with the code behind non-interactive rebase, but it doesn't seem to use the same todo-list at all. Maybe the sequencer would help, I don't know. -- Matthieu Moy http://www-verimag.imag.fr/~moy/