Re: [PATCH RFC] rebase: add --revisions flag
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Dec 9, 2009, 10:55 UTC
- Message-ID
- <vpqaaxswh5b.fsf@bauges.imag.fr>
- In-Reply-To
- <20091209103850.GD2977@redhat.com>
"Michael S. Tsirkin" <mst@redhat.com> 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/