1
0
mirror of https://github.com/git/git.git synced 2025-04-13 12:02:11 +00:00
git/builtin
Christian Couder 7e2bfd3f99 revert: allow cherry-picking more than one commit
This makes it possible to pass many commits or ranges of
commits to "git cherry-pick" and to "git revert" to process
many commits instead of just one.

In fact commits are now enumerated with an equivalent of

	git rev-list --no-walk "$@"

so all the following are now possible:

	git cherry-pick master~2..master
	git cherry-pick ^master~2 master
	git cherry-pick master^ master

The following should be possible but does not work:

	git cherry-pick -2 master

because "git rev-list --no-walk -2 master" only outputs
one commit as "--no-walk" seems to take over "-2".

And there is currently no way to continue cherry-picking or
reverting if there is a problem with one commit. It's also
not possible to abort the whole process. Some future work
should provide the --continue and --abort options to do
just that.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-06-02 10:09:56 -07:00
..
2010-05-21 04:02:14 -07:00
2010-05-21 04:02:15 -07:00
2010-05-21 04:02:16 -07:00
2010-03-28 17:42:58 -07:00
2010-04-09 22:43:18 -07:00
2010-05-21 04:02:16 -07:00
2010-05-08 22:36:14 -07:00
2010-03-21 16:23:44 -07:00
2010-03-21 16:23:44 -07:00
2010-05-08 22:34:47 -07:00
2010-03-28 21:52:28 -07:00
2010-04-09 22:43:18 -07:00
2010-04-19 16:39:24 -07:00
2010-03-31 15:14:27 -07:00
2010-05-21 04:02:20 -07:00