threads / patch / 35110

patchhowto/setup-git-server-over-http.txt: Fix asciidoc formatting

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

## tl;dr

One message between Oct 11, 2013 and Oct 11, 2013. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Ramsay Jones· Oct 11, 2013, 19:38 UTC · lore

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(-)
Show changes to Documentation/howto/setup-git-server-over-http.txt +2 −2
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

← back to recent threads