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

[RFC] Rename git-rm --cached to --index

From
NSNico -telmich- Schottelius <nico-git-20080529@schottelius.org>
Date
May 28, 2008, 23:14 UTC
Message-ID
<20080528231405.GA25416@denkbrett.schottelius.org>
Hello!

I just re-read the git-rm manpage and recognized git-rm knows about the --cached option. As in current git we do not talk about the cache, but about the index, it would imho make sense to rename --cache to --index in a user friendly way:

- add --index to git-rm
- add --index to manpage of git-rm
- still support --cached in git-rm
- add hint in manpage that --cached is old naming style

I think naming it --index would make life more consistent for new users of git.

Now I'm interested in your opinion ;-)
Sincerly
Nico
P.S.: As always, please CC me on reply
-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C
Next: Junio C Hamano
Message 1 of 3 in “[RFC] Rename git-rm --cached to --index”
  1. Nico -telmich- SchotteliusMay 28, 2008
  2. Junio C HamanoMay 28, 2008
  3. Wincent ColaiutaMay 28, 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.