escape tilde in Documentation/git-rev-parse.txt
Fixes a failure to build the git-rev-parse manpage, seen with asciidoc 8.0.0 We would love to use nicer quoting $$~$$ but alas asciidoc 7 does not know about it. So use asciidoc.conf and define {tilde} to be ~. Signed-off-by: Junio C Hamano <junkio@cox.net> Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Junio C Hamano committed
Oct 2, 2006 at 22:52 UTC
54bd25580e227c15a5f1a2b01be794b65e434665
2 files changed
+2
-1
Documentation/asciidoc.conf
+1
@@ -11,6 +11,7 @@
11
caret=^
12
startsb=[
13
endsb=]
14
+tilde=~
15
16
ifdef::backend-docbook[]
17
[gitlink-inlinemacro]
Documentation/git-rev-parse.txt
+1
-1
@@ -138,7 +138,7 @@ syntax.
138
'rev{caret}0' means the commit itself and is used when 'rev' is the
139
object name of a tag object that refers to a commit object.
140
141
-* A suffix '~<n>' to a revision parameter means the commit
141
+* A suffix '{tilde}<n>' to a revision parameter means the commit
142
object that is the <n>th generation grand-parent of the named
143
commit object, following only the first parent. I.e. rev~3 is
144
equivalent to rev{caret}{caret}{caret} which is equivalent to\