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

[PATCH 1/2] git.txt: fix heading line of tildes

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Jan 3, 2025, 11:33 UTC
Message-ID
<50e47d14a8a0a2ca0dd158f01b833a28c7b46887.1735903029.git.martin.agren@gmail.com>
In-Reply-To
<cover.1735903029.git.martin.agren@gmail.com>

The two-line heading added in 8525e92886 (Document HOME environment variable, 2024-12-09) uses too many tilde characters, so the heading isn't detected as such. Both AsciiDoc and Asciidoctor end up misrendering this in different ways.

Use the correct number of tilde characters to fix this.
Signed-off-by: Martin Ågren <martin.agren@gmail.com>
---
 Documentation/git.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 81498393af..e89a91dd0d 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -478,7 +478,7 @@ their values the same way as Boolean valued configuration variables, e.g.
 Here are the variables:
 
 System
-~~~~~~~~~~~~~~~~~~
+~~~~~~
 `HOME`::
 	Specifies the path to the user's home directory. On Windows, if
 	unset, Git will set a process environment variable equal to:
-- 
2.48.0.rc1.241.g6c04ab211c
Previous: Martin ÅgrenNext: Martin Ågren
Message 2 of 6 in “documentation fixes for 2.48.0”
  1. 0/2 documentation fixes for 2.48.0Martin Ågren, Jan 3, 2025
  2. 1/2 git.txt: fix heading line of tildesMartin Ågren, Jan 3, 2025
  3. 2/2 gitcli.txt: typeset pathnames as monospaceMartin Ågren, Jan 3, 2025
  4. Eric SunshineJan 3, 2025
  5. Martin ÅgrenJan 3, 2025
  6. Junio C HamanoJan 3, 2025

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.