git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] config.txt: add missing period
@ 2021-03-16 14:40 Kyle Meyer
  2021-03-16 15:17 ` Jeff King
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle Meyer @ 2021-03-16 14:40 UTC (permalink / raw)
  To: git

Signed-off-by: Kyle Meyer <kyle@kyleam.com>
---
 Documentation/config.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 6ba50b1104..06615d840b 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -46,7 +46,7 @@ Subsection names are case sensitive and can contain any characters except
 newline and the null byte. Doublequote `"` and backslash can be included
 by escaping them as `\"` and `\\`, respectively. Backslashes preceding
 other characters are dropped when reading; for example, `\t` is read as
-`t` and `\0` is read as `0` Section headers cannot span multiple lines.
+`t` and `\0` is read as `0`. Section headers cannot span multiple lines.
 Variables may belong directly to a section or to a given subsection. You
 can have `[section]` if you have `[section "subsection"]`, but you don't
 need to.
-- 
2.31.0.rc2.327.gc8bc67eb22


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

* Re: [PATCH] config.txt: add missing period
  2021-03-16 14:40 [PATCH] config.txt: add missing period Kyle Meyer
@ 2021-03-16 15:17 ` Jeff King
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2021-03-16 15:17 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: git

On Tue, Mar 16, 2021 at 10:40:40AM -0400, Kyle Meyer wrote:

> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index 6ba50b1104..06615d840b 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -46,7 +46,7 @@ Subsection names are case sensitive and can contain any characters except
>  newline and the null byte. Doublequote `"` and backslash can be included
>  by escaping them as `\"` and `\\`, respectively. Backslashes preceding
>  other characters are dropped when reading; for example, `\t` is read as
> -`t` and `\0` is read as `0` Section headers cannot span multiple lines.
> +`t` and `\0` is read as `0`. Section headers cannot span multiple lines.

Yep, looks obviously correct. I wondered if this got introduced during
some formatting cleanup, but it has been present since the text was
added in 1feb061701 (config.txt: document behavior of backslashes in
subsections, 2017-12-21).

Thanks for spotting.

-Peff

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

end of thread, other threads:[~2021-03-16 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 14:40 [PATCH] config.txt: add missing period Kyle Meyer
2021-03-16 15:17 ` Jeff King

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).