revert: change help_msg() to take no argument
authorChristian Couder <chriscool@tuxfamily.org>
Wed, 2 Jun 2010 05:58:37 +0000 (07:58 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jun 2010 17:09:52 +0000 (10:09 -0700)
commit4b2095622f61e6ab51f03601e5c3c8d71ace5fc7
treea586204b6132e513faf9ca42690c486d5522643c
parent7af46595b2667214e98da55ed2f82ce1ac2b404a
revert: change help_msg() to take no argument

This is needed because the following commits will make it
possible to cherry-pick many commits instead of just one.

So it will be possible to pass for example ranges of commits
to "git cherry-pick" and this means that it will not be
possible to use the arguments passed to "git cherry-pick" in
the help message.

The help message will have to use the sha1 of the currently
processed commit.

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