revert: refactor code into a do_pick_commit() function
authorChristian Couder <chriscool@tuxfamily.org>
Wed, 2 Jun 2010 05:58:36 +0000 (07:58 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jun 2010 17:09:47 +0000 (10:09 -0700)
commit7af46595b2667214e98da55ed2f82ce1ac2b404a
tree88a63e5633074556eecb466d6c0423d7f227747d
parent2fb0e14f4014a4f5027401bc7156929309449726
revert: refactor code into a do_pick_commit() function

This is needed because we are going to make it possible
to cherry-pick many commits instead of just one in the following
commits. And we will be able to do that by just calling
do_pick_commit() once for each commit to cherry-pick.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/revert.c