git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] prepare deprecation of git-revert

From
Andreas Ericsson <ae@op5.se>
Date
Nov 1, 2008, 11:53 UTC
Message-ID
<490C4332.9040504@op5.se>
In-Reply-To
<20081031190157.GG17651@mit.edu>
Theodore Tso wrote:
Show 18 quoted lines
> On Fri, Oct 31, 2008 at 09:36:33AM -0700, Jakub Narebski wrote:
>>> +#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'. 
> 
> By the way, BitKeeper names this command "bk undo" (which is another
> reason why I would advocate against "git undo" as a syntatic sugar for
> "git checkout HEAD -- $*") --- not that I think there are too many BK
> refugees that might want to switch to git, but it shows that "undo"
> has its own ambiguities; gk uses "undo" the same way we currently use
> "git revert".
> 
> For people who argue that "git cherry-pick --revert" or "git
> cherry-pick -R" is too long, I'd argue that for most people its not a
> common command, and for those for which it is common, they can always
> make in alias for "git pick".
> 
Probably "git unpick" in that case.
-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Theodore TsoNext: Alex Riesen
Message 6 of 16 in “prepare deprecation of git-revert”
  1. prepare deprecation of git-revertPierre Habouzit, Oct 31, 2008
  2. Pierre HabouzitOct 31, 2008
  3. Jakub NarebskiOct 31, 2008
  4. Pierre HabouzitOct 31, 2008
  5. Theodore TsoOct 31, 2008
  6. Andreas EricssonNov 1, 2008
  7. Alex RiesenOct 31, 2008
  8. Pierre HabouzitOct 31, 2008
  9. Alex RiesenOct 31, 2008
  10. Johannes SchindelinOct 31, 2008
  11. Junio C HamanoOct 31, 2008
  12. Matthieu MoyNov 1, 2008
  13. Nguyen Thai Ngoc DuyNov 2, 2008
  14. Johannes SchindelinNov 2, 2008
  15. Jeff KingNov 2, 2008
  16. Pierre HabouzitNov 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.