Re: git file listing is inconsistent
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 26, 2014, 21:47 UTC
- Message-ID
- <xmqqd289prb2.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAGOJM6+DTSn2qa-KTWceqyraaugX_YVZhirkdc+t+cDfFB4OyQ@mail.gmail.com>
Woody Gilk <woody.gilk@gmail.com> writes:
Show 5 quoted lines
> 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 me, though ;-)