[PATCH 0/8] implement cherry-picking many commits
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- May 31, 2010, 19:42 UTC
- Message-ID
- <20100531193359.28729.55562.chriscool@tuxfamily.org>
This a patch series to implement cherry-picking and reverting many commits instead of just one.
There is still no way to continue or abort the process when cherry-picking or reverting fails, but this can be implemented later.
Changes since the previous RFC series are the following:
- now use the equivalent of 'git rev-list --no-walk "$@"' to enumerate the commits (suggested by Junio) - added a patch to cleanup the code related to the -x option (suggested by Ram) - added a commit to change help_msg() and its callers - added 2 documentation patches
Christian Couder (8): revert: cleanup code for -x option revert: use run_command_v_opt() instead of execv_git_cmd() revert: refactor code into a do_pick_commit() function revert: change help_msg() to take no argument revert: allow cherry-picking more than one commit revert: add tests to check cherry-picking many commits Documentation/cherry-pick: describe passing more than one commit Documentation/revert: describe passing more than one commit
Documentation/git-cherry-pick.txt | 64 ++++++++++++++++----- Documentation/git-revert.txt | 52 +++++++++++------ builtin/revert.c | 109 ++++++++++++++++++++++------------- t/t3508-cherry-pick-many-commits.sh | 95 ++++++++++++++++++++++++++++++ 4 files changed, 249 insertions(+), 71 deletions(-) create mode 100755 t/t3508-cherry-pick-many-commits.sh