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

Re: [PATCH] Documentation: remove '\' from front of options in githooks doc

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Sep 30, 2008, 17:21 UTC
Message-ID
<20080930172155.GJ6941@neumann>
In-Reply-To
<200809301756.41518.trast@student.ethz.ch>
Hi Thomas,
On Tue, Sep 30, 2008 at 05:56:32PM +0200, Thomas Rast wrote:
Show 6 quoted lines
> This must be checked against older asciidocs to verify that it does
> not turn the unescaped sequence -- into an em-dash.  The \-- traces
> back to e1ccf53 ([PATCH] Escape asciidoc's built-in em-dash
> replacement, 2005-09-12), which indicates that it _was_ a problem in
> the past.  (The asciidoc 8.2.5 on my system does not use an em-dash in
> either case.)

Indeed, now that I look more closely, I had those '\' characters only in front of short options in the outputs.

However, it worth noting that there are plenty other places where the double dash in long options are not escaped with a '\'.

> ACK on all single-dash cases though, which are indeed wrong and were
> apparently introduced later in 8089c85 (git-commit: add a
> prepare-commit-msg hook, 2008-02-05).
I will send a corrected patch shortly.

Thanks, Gábor

Previous: Thomas RastNext: SZEDER Gábor
Message 3 of 4 in “Documentation: remove '\' from front of options in githooks doc”
  1. Documentation: remove '\' from front of options in githooks docSZEDER Gábor, Sep 30, 2008
  2. Thomas RastSep 30, 2008
  3. SZEDER GáborSep 30, 2008
  4. Documentation: remove '\' in front of short optionsSZEDER Gábor, Sep 30, 2008

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.