Skip to content

Commit

Permalink
escape tilde in Documentation/git-rev-parse.txt
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Oct 3, 2006
1 parent b599dee commit 54bd255
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Documentation/asciidoc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
caret=^
startsb=&#91;
endsb=&#93;
tilde=&#126;

ifdef::backend-docbook[]
[gitlink-inlinemacro]
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-rev-parse.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ syntax.
'rev{caret}0' means the commit itself and is used when 'rev' is the
object name of a tag object that refers to a commit object.

* A suffix '~<n>' to a revision parameter means the commit
* A suffix '{tilde}<n>' to a revision parameter means the commit
object that is the <n>th generation grand-parent of the named
commit object, following only the first parent. I.e. rev~3 is
equivalent to rev{caret}{caret}{caret} which is equivalent to\
Expand Down

0 comments on commit 54bd255

Please sign in to comment.