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

Re: [PATCH] doc: replace 3 dash with correct 2 dash in git-config(1)

From
Celeste Liu <coelacanthushex@gmail.com>
Date
Aug 26, 2024, 15:56 UTC
Message-ID
<8c1c031b-4f36-4825-93ef-408c50b0ee2f@gmail.com>
In-Reply-To
<xmqqa5gznwf9.fsf@gitster.g>
On 2024-08-26 23:19, Junio C Hamano wrote:
Show 14 quoted lines
> Patrick Steinhardt <ps@pks.im> writes:
> 
>>>> There's one more thing I noticed: the synopsis for `git config get` says
>>>> `--regrexp=<regexp>`, which is clearly wrong. As you're already at it,
>>>> would you mind including a second patch that corrects this?
>>>
>>> I couldn't find this typo. Did I miss something? If something missed, please 
>>> tell me. I will include it in v3.
>>> v2 has been sent.
>>
>> It's in line 13 in Documentation/git-config.txt. Seeing that your v2 is
> 
> Ahhhh.  You weren't saying "regexp is misspelt as regrexp".  You're
> right.  I too missed it.

Ohhhhh. I missed it. A comment which include typo and point out a typo led my brain to wrong way.

And is there need a new patch to fix this? Or you will fix it directly?
Show 5 quoted lines
> 
> The synopsis should lose "=<regexp>" part, as the option does not
> take any arguments.
> 
> Thanks.
Previous: Junio C HamanoNext: Junio C Hamano
Message 8 of 11 in “doc: replace 3 dash with correct 2 dash in git-config(1)”
  1. doc: replace 3 dash with correct 2 dash in git-config(1)Celeste Liu, Aug 22, 2024
  2. Junio C HamanoAug 22, 2024
  3. Patrick SteinhardtAug 23, 2024
  4. Celeste LiuAug 23, 2024
  5. Celeste LiuAug 23, 2024
  6. Patrick SteinhardtAug 26, 2024
  7. Junio C HamanoAug 26, 2024
  8. Celeste LiuAug 26, 2024
  9. Junio C HamanoAug 26, 2024
  10. git-config.1: --get-all description updateJunio C Hamano, Aug 26, 2024
  11. Junio C HamanoAug 26, 2024

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.