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

[PATCH] fixup! Documentation/i18n: quote double-dash for AsciiDoc

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jun 29, 2011, 16:44 UTC
Message-ID
<20110629164431.GB20032@elie>
In-Reply-To
<20110629053648.GD28690@elie>

The double-dash in the title should be escaped, too, to avoid spurious em dashes in the header:

	.TH "GIT\-SH\-I18N\(emENVSUB" "1" "06/26/2011" "Git 1\&.7\&.6" "Git Manual"

AsciiDoc 8.6.4 with DocBook XSL 1.76.0-RC1 copes fine and writes "GIT\-SH\-I18N\-\-ENVSUB" even without this change, which is why it was missed before.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
 Documentation/git-sh-i18n--envsubst.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-sh-i18n--envsubst.txt b/Documentation/git-sh-i18n--envsubst.txt
index 6e3a9539..5c3ec327 100644
--- a/Documentation/git-sh-i18n--envsubst.txt
+++ b/Documentation/git-sh-i18n--envsubst.txt
@@ -1,5 +1,5 @@
-git-sh-i18n--envsubst(1)
-========================
+git-sh-i18n{litdd}envsubst(1)
+=============================
 
 NAME
 ----
-- 
1.7.6
Previous: Ævar Arnfjörð Bjarmason
Message 9 of 9 in “Documentation: quote double-dash in "<commit> -- <filename>" for AsciiDoc”
  1. Documentation: quote double-dash in "<commit> -- <filename>" for AsciiDocJonathan Nieder, Jun 28, 2011
  2. Junio C HamanoJun 28, 2011
  3. Jonathan NiederJun 29, 2011
  4. Jeff KingJun 28, 2011
  5. 0/2 Documentation: quote double-dash for AsciiDocJonathan Nieder, Jun 29, 2011
  6. 1/2 Documentation: quote double-dash for AsciiDocJonathan Nieder, Jun 29, 2011
  7. 2/2 Documentation/i18n: quote double-dash for AsciiDocJonathan Nieder, Jun 29, 2011
  8. Ævar Arnfjörð BjarmasonJun 29, 2011
  9. fixup! Documentation/i18n: quote double-dash for AsciiDocJonathan Nieder, Jun 29, 2011

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.