All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Schmit <i.grok@comcast.net>
To: Woody Gilk <woody.gilk@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git file listing is inconsistent
Date: Wed, 26 Nov 2014 16:59:49 -0500	[thread overview]
Message-ID: <20141126215949.GC3885@odin.ulthar.us> (raw)
In-Reply-To: <CAGOJM6+DTSn2qa-KTWceqyraaugX_YVZhirkdc+t+cDfFB4OyQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

On Wed, Nov 26, 2014 at 03:10:33PM -0600, Woody Gilk wrote:
> git diff --name-only
> git grep --files-with-matches
> 
> I think --files-with-matches should be deprecated and replaced with
> --name-only for consistency.

git grep supports both: --name-only for consistency with other git
commands, and --files-with-matches for consistency with grep(1).

So I don't think anything needs to change.  All we need to do is to
teach grep(1) the --name-only option, and the cycle will be complete.
[I can never remember grep's version of the option...] :-D

-- 
Scott Schmit

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3891 bytes --]

      parent reply	other threads:[~2014-11-26 21:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-26 21:10 git file listing is inconsistent Woody Gilk
2014-11-26 21:47 ` Junio C Hamano
2014-11-26 21:55 ` Jonathan Nieder
2014-11-26 22:01   ` Woody Gilk
2014-11-26 21:59 ` Scott Schmit [this message]

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=20141126215949.GC3885@odin.ulthar.us \
    --to=i.grok@comcast.net \
    --cc=git@vger.kernel.org \
    --cc=woody.gilk@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.