Pierre Habouzit <madcoder@xxxxxxxxxx> writes: > * Rename builtin-revert.c into builtin-cherry-pick.c > > * Add option -R/--revert to git-cherry-pick. > Document it by taking the current content of git-revert manpage for the > option. > > * get rid of the no_replay initialization, just ignore it when we're in > the revert case, it makes really no sense to error out. > > * put the warning of deprecation in cmd_revert, #if 0-ed out for now. > +#if 0 > + warning("git revert is deprecated, please use git cherry-pick --revert/-R instead"); > +#endif By the way, Mercurial names this command IIRC 'hg backout'. But I think that adding '-R' option to git-cherry-pick is a good idea even if we don't go deprecating git-revert. -- Jakub Narebski Poland ShadeHawk on #git -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html