Re: [PATCH] prepare deprecation of git-revert
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Oct 31, 2008, 16:50 UTC
- Message-ID
- <20081031165003.GA5355@steel.home>
- In-Reply-To
- <1225468527-29694-1-git-send-email-madcoder@debian.org>
Pierre Habouzit, Fri, Oct 31, 2008 16:55:27 +0100:
Show 7 quoted lines
> @@ -439,16 +436,17 @@ static int revert_or_cherry_pick(int argc, const char **argv)
>
> int cmd_revert(int argc, const char **argv, const char *prefix)
> {
> +#if 0
> + warning("git revert is deprecated, please use git cherry-pick --revert/-R instead");
> +#endif"git revert" is much shorter to type than "git cherry-pick -R". How about renaming "cherry-pick" into something short, like "pick"?