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

Re: [PATCH] revert: Hide '-r' option in default usage

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Apr 13, 2011, 13:21 UTC
Message-ID
<20110413132146.GB26760@kytes>
In-Reply-To
<7vhba4v6p8.fsf@alter.siamese.dyndns.org>
Hi Junio,
Junio C Hamano writes:
Show 16 quoted lines
> Ramkumar Ramachandra <artagnon@gmail.com> writes:
> 
> > Since the '-r' command-line option is a no-op provided only for
> > backward compatiblity, don't advertise it in the default usage.
> >
> > Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
> > ---
> 
> Thanks.
> 
> It would have saved me a lot of time if you wrote that this option has
> been a no-op since abd6970 (cherry-pick: make -r the default, 2006-10-05),
> but the commit didn't remove it from the usage string, and it somehow
> survived 9509af6 (Make git-revert & git-cherry-pick a builtin, 2007-03-01)
> and later f810379 (Make builtin-revert.c use parse_options, 2007-10-07),
> and it is about time to stop advertising it.

Thanks. I didn't realize there was so much history to write about. Has you queued this somewhere?

-- Ram
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “revert: Hide '-r' option in default usage”
  1. revert: Hide '-r' option in default usageRamkumar Ramachandra, Apr 10, 2011
  2. Junio C HamanoApr 11, 2011
  3. Ramkumar RamachandraApr 13, 2011
  4. Junio C HamanoApr 13, 2011

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.