Re: [RFC] Rename git-rm --cached to --index
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 28, 2008, 23:25 UTC
- Message-ID
- <7vprr6roxt.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080528231405.GA25416@denkbrett.schottelius.org>
Please don't make naming inconsistent. --index means "do things that usually affect only work tree also to the index as well", while --cached means "act only on the index" (study "git apply" for another example).
"git rm" that does not touch work tree but removes only the index entry should be named --cached.