git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFC 2/2] grep: rename "grep.extendedRegexp" option to "grep.patternType"

From
J Smith <dark.panda@gmail.com>
Date
Aug 1, 2012, 03:38 UTC
Message-ID
<3D9678D0-DD72-4538-81E8-7568A2A3211D@gmail.com>
In-Reply-To
<7vpq7bh5wx.fsf@alter.siamese.dyndns.org>
On 2012-07-31, at 7:22 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> J Smith <dark.panda@gmail.com> writes:
> 
>> With the addition of the "basic", "extended", "fixed", and "perl"
>> values for the "grep.extendedRegexp" option the name "grep.patternType"
>> better represents the option's functionality. "grep.extendedRegexp"
>> remains available as an alias to "grep.patternType" for the purposes of
>> backwards compatibility.
>> ---
> 
> Sorry for not bringing this up earlier when we discussed grep.patternType,
> but my preference would be to introduce grep.patternType with these
> type names (including basic and perl) from the beginning, and then
> ignore grep.extendedRegexp if grep.patternType is set.
> 
> The core part of the change may look something like this...
Ah, I see. Yeah, that's not a problem. I'll make the appropriate changes tomorrow and post a new patch. 
Previous: Junio C Hamano
Message 4 of 4 in “grep: add "basic", "extended", "fixed", and "perl" to grep.extendedRegexp”
  1. 1/2 grep: add "basic", "extended", "fixed", and "perl" to grep.extendedRegexpJ Smith, Jul 31, 2012
  2. 2/2 grep: rename "grep.extendedRegexp" option to "grep.patternType"J Smith, Jul 31, 2012
  3. Junio C HamanoJul 31, 2012
  4. J SmithAug 1, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.