threads / patch / 55332

patchconfig.txt: add missing period

Subject: [PATCH] config.txt: add missing period

## tl;dr

2 messages between Mar 16, 2021 and Mar 16, 2021. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Kyle Meyer· Mar 16, 2021, 14:40 UTC · lore
Signed-off-by: Kyle Meyer <kyle@kyleam.com>
---
 Documentation/config.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/config.txt +1 −1
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
Jeff King· Mar 16, 2021, 15:17 UTC · re: Kyle Meyer · lore

Re: [PATCH] config.txt: add missing period

On Tue, Mar 16, 2021 at 10:40:40AM -0400, Kyle Meyer wrote:
Show 10 quoted lines
> 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

← back to recent threads