From: Matthieu Moy Date: Wed, 09 Dec 2009 10:55:44 GMT Subject: Re: [PATCH RFC] rebase: add --revisions flag Message-ID: In-Reply-To: <20091209103850.GD2977@redhat.com> "Michael S. Tsirkin" 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/