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

[PATCH] howto/setup-git-server-over-http.txt: Fix asciidoc formatting

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Oct 11, 2013, 19:38 UTC
Message-ID
<525853BC.7090501@ramsay1.demon.co.uk>

The text contains two 'grep' invocations which include the 'start of line' regular expression character '^'. Asciidoc mis-interprets this use of '^' as a superscript request. In order to fix this formatting problem, use backticks (`) to quote the text of the affected 'grep' command invocations.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
---
Hi Jonathan,
    $ git grep '\^' Documentation/howto

pointed me to some other candidates, but only this one needed a similar fix ... :-D

ATB, Ramsay Jones

 Documentation/howto/setup-git-server-over-http.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/howto/setup-git-server-over-http.txt b/Documentation/howto/setup-git-server-over-http.txt
index 7f4943e..981cbdd 100644
--- a/Documentation/howto/setup-git-server-over-http.txt
+++ b/Documentation/howto/setup-git-server-over-http.txt
@@ -81,8 +81,8 @@ Initialize a bare repository
     $ git --bare init
 
 
-Change the ownership to your web-server's credentials. Use "grep ^User
-httpd.conf" and "grep ^Group httpd.conf" to find out:
+Change the ownership to your web-server's credentials. Use `"grep ^User
+httpd.conf"` and `"grep ^Group httpd.conf"` to find out:
 
     $ chown -R www.www .
 
-- 
1.8.4
Message 1 of 1 in “howto/setup-git-server-over-http.txt: Fix asciidoc formatting”
  1. howto/setup-git-server-over-http.txt: Fix asciidoc formattingRamsay Jones, Oct 11, 2013

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.