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

Re: [RFC/PATCH] rebase -i: add run command to launch a shell command

From: Santi Béjar <hidden>
Date: 2016-06-15 22:49:12

On Wed, Jul 28, 2010 at 3:29 PM, Matthieu Moy [off-list ref] wrote:
The typical usage pattern would be to run a test (or simply a compilation
command) at given points in history.

The shell command is ran, and the rebase is stopped when the command
fails, to give the user an opportunity to fix the problem before
continuing with "git rebase --continue".
I think this is a useful addition, but I would find it more useful if
I could run a command (make test) on top of all commits of a patch
series, like:

$ git run HEAD^4.. command arguments

(I'm not quite sure about the syntax). Something like "git bisect run"
but for all the commits in the range.

 I know you said "given points in history", maybe each approach is
useful for each use case.

Thanks,
Santi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help