"Michael S. Tsirkin" <mst@xxxxxxxxxx> 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/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html