git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] doc: replace 3 dash with correct 2 dash in git-config(1)
@ 2024-08-23  8:21 Celeste Liu
  2024-08-23 13:12 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Celeste Liu @ 2024-08-23  8:21 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Patrick Steinhardt, Celeste Liu

Commit 4e51389000 (builtin/config: introduce "get" subcommand, 2024-05-06)
introduced this typo, it uses 3 dash for regexp argument instead of
correct 2 dash.

Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
---
Changes in v2:
- Clarify typo details.
- Remove Fixes tag because Git doesn't use it.
- Link to v1: https://lore.kernel.org/git/20240822172042.54065-1-CoelacanthusHex@gmail.com/
---
 Documentation/git-config.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 65c645d461..79360328aa 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -130,7 +130,7 @@ OPTIONS
 --all::
 	With `get`, return all values for a multi-valued key.
 
----regexp::
+--regexp::
 	With `get`, interpret the name as a regular expression. Regular
 	expression matching is currently case-sensitive and done against a
 	canonicalized version of the key in which section and variable names

---
base-commit: 3a7362eb9fad0c4838f5cfaa95ed3c51a4c18d93
change-id: 20240823-fix-doc-regexp-727a82281737

Best regards,
-- 
Celeste Liu <CoelacanthusHex@gmail.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] doc: replace 3 dash with correct 2 dash in git-config(1)
  2024-08-23  8:21 [PATCH v2] doc: replace 3 dash with correct 2 dash in git-config(1) Celeste Liu
@ 2024-08-23 13:12 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2024-08-23 13:12 UTC (permalink / raw)
  To: Celeste Liu; +Cc: git, Patrick Steinhardt

Celeste Liu <coelacanthushex@gmail.com> writes:

> Commit 4e51389000 (builtin/config: introduce "get" subcommand, 2024-05-06)
> introduced this typo, it uses 3 dash for regexp argument instead of
> correct 2 dash.
>
> Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
> ---
> Changes in v2:
> - Clarify typo details.
> - Remove Fixes tag because Git doesn't use it.
> - Link to v1: https://lore.kernel.org/git/20240822172042.54065-1-CoelacanthusHex@gmail.com/

Thanks.  I'll do "typo, it" -> "typo. It" while queuing.

I couldn't spot the "regrexp", either, by the way.

> ---
>  Documentation/git-config.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
> index 65c645d461..79360328aa 100644
> --- a/Documentation/git-config.txt
> +++ b/Documentation/git-config.txt
> @@ -130,7 +130,7 @@ OPTIONS
>  --all::
>  	With `get`, return all values for a multi-valued key.
>  
> ----regexp::
> +--regexp::
>  	With `get`, interpret the name as a regular expression. Regular
>  	expression matching is currently case-sensitive and done against a
>  	canonicalized version of the key in which section and variable names
>
> ---
> base-commit: 3a7362eb9fad0c4838f5cfaa95ed3c51a4c18d93
> change-id: 20240823-fix-doc-regexp-727a82281737
>
> Best regards,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-23 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23  8:21 [PATCH v2] doc: replace 3 dash with correct 2 dash in git-config(1) Celeste Liu
2024-08-23 13:12 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).