Subject: Re: [PATCH RFC] rebase: add --revisions flag

From: Matthieu Moy <[email-masked]>
Date: Wed, 09 Dec 2009 11:55:44 +0100

"Michael S. Tsirkin" <[email-masked]> writes:

> cherry-pick is a binary though while rebase is a shell script.
> Should I just exec git rebase? git-rebase?

See run-command.h :

#define RUN_GIT_CMD	     2	/*If this is to be git sub-command */
int run_command_v_opt(const char **argv, int opt);

That should do the trick (grep 'run_command_v_opt.*GIT_CMD' *.c for
some example of uses).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/