]> git.ipfire.org Git - thirdparty/git.git/commitdiff
user-manual.txt: render ASCII art correctly under Asciidoctor
authorMartin Ågren <martin.agren@gmail.com>
Sun, 22 Sep 2019 11:57:59 +0000 (13:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Sep 2019 08:39:34 +0000 (17:39 +0900)
This commit is similar to 379805051d ("Documentation: render revisions
correctly under Asciidoctor", 2018-05-06) and is a no-op with AsciiDoc.

When creating a literal block from an indented block without any sort of
delimiters, Asciidoctor strips off all leading whitespace, resulting in
a misrendered ASCII drawing. Use an explicit literal block to indicate
to Asciidoctor that we want to keep the leading whitespace. Drop the
common indentation for all lines to make this a no-op with AsciiDoc.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/user-manual.txt

index 919c214b71a64a8d555227ff12a9eb4babdb184e..06bd8994ee74fc0943776ba720bf21c8cec5e100 100644 (file)
@@ -1831,15 +1831,17 @@ pull from that repository.  So the flow of changes, in a situation
 where there is one other developer with a public repository, looks
 like this:
 
-                        you push
-  your personal repo ------------------> your public repo
-       ^                                     |
-       |                                     |
-       | you pull                            | they pull
-       |                                     |
-       |                                     |
-        |               they push             V
-  their public repo <------------------- their repo
+....
+                     you push
+your personal repo ------------------> your public repo
+      ^                                     |
+      |                                     |
+      | you pull                            | they pull
+      |                                     |
+      |                                     |
+      |               they push             V
+their public repo <------------------- their repo
+....
 
 We explain how to do this in the following sections.