"Michael S. Tsirkin" [off-list ref] 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/