Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Nico -telmich- Schottelius <nico-git-20080529@schottelius.org>
Cc: git@vger.kernel.org
Subject: Re: [RFC] Rename git-rm --cached to --index
Date: Wed, 28 May 2008 16:25:50 -0700	[thread overview]
Message-ID: <7vprr6roxt.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <20080528231405.GA25416@denkbrett.schottelius.org> (nico-git-20080529@schottelius.org's message of "Thu, 29 May 2008 01:14:05 +0200")

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.

  reply	other threads:[~2008-05-28 23:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28 23:14 [RFC] Rename git-rm --cached to --index Nico -telmich- Schottelius
2008-05-28 23:25 ` Junio C Hamano [this message]
2008-05-28 23:57   ` Wincent Colaiuta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vprr6roxt.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=nico-git-20080529@schottelius.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox