Re: git file listing is inconsistent

2014-11-26 Thread Woody Gilk
Jonathan, On Wed, Nov 26, 2014 at 3:55 PM, Jonathan Nieder wrote: > Actually, 'git grep -h' tells me that git grep --name-only is already > accepted as a synonym for --files-with-matches, ever since You are absolutely right, it was a typo (and then not RTFM the resulting help) on my part that ca

Re: git file listing is inconsistent

2014-11-26 Thread Scott Schmit
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, an

Re: git file listing is inconsistent

2014-11-26 Thread Jonathan Nieder
Hi Woody, 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. See the (non-git) diff(1) and grep(1) manpages. It might make sense for 'git grep' to learn --name-only too a

Re: git file listing is inconsistent

2014-11-26 Thread Junio C Hamano
Woody Gilk writes: > git diff --name-only > git grep --files-with-matches > > I think --files-with-matches should be deprecated and replaced with > --name-only for consistency. That longer name comes from "GNU grep" consistency. Why anybody does not use a shorter and sweeter "grep -l" is beyond

git file listing is inconsistent

2014-11-26 Thread Woody Gilk
git diff --name-only git grep --files-with-matches I think --files-with-matches should be deprecated and replaced with --name-only for consistency. Thanks, -- Woody Gilk http://about.me/shadowhand -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord