Documentation: fix graph in git-rev-parse.txt
PATCH 1/1 Documentation: fix graph in git-rev-parse.txt
Preformatted html and man pages show a mangled graph, caused by a backslash.
Commit f1ec6b22a8c1ab1cca0f1875f85aea5d2434e5a6 fixed this same issue, but it seems that new versions of the Asciidoc toolchain changed their behaviour.
---
This should fix the problem, but I can't test it because I have an old Asciidoc installation (works either way here).
Documentation/git-rev-parse.txt | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
Documentation/git-rev-parse.txt +3 -1
@@ -243,16 +243,18 @@ Here is an illustration, by Jon Loeliger. Both commit nodes B and C are parents of commit node A. Parent commits are ordered left-to-right. +........................................ G H I J \ / \ / D E F - \ | / \ + \ | / \ \ | / | \|/ | B C \ / \ / A +........................................ A = = A^0 B = A^ = A^1 = A~1
Signature · 1 line
1.5.5.1
Quoted 7 lines · Michele Ballabio
Preformatted html and man pages show a mangled graph, caused by a backslash.
Commit
f1ec6b22a8c1ab1cca0f1875f85aea5d2434e5a6fixed this same issue, but it seems that new versions of the Asciidoc toolchain changed their behaviour.
Quoted 5 lines
Signed-off-by Michele Ballabio <[email protected]>---
This should fix the problem, but I can't test it because I have an old Asciidoc installation (works either way here).
Thanks. I think you also should de-dent the whole picture to keep the same output, like this...
Documentation/git-rev-parse.txt | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-)
Documentation/git-rev-parse.txt +12 -10
@@ -238,16 +238,18 @@ Here is an illustration, by Jon Loeliger. Both commit nodes B and C are parents of commit node A. Parent commits are ordered left-to-right. - G H I J - \ / \ / - D E F - \ | / \ - \ | / | - \|/ | - B C - \ / - \ / - A +........................................ +G H I J + \ / \ / + D E F + \ | / \ + \ | / | + \|/ | + B C + \ / + \ / + A +........................................ A = = A^0 B = A^ = A^1 = A~1