Skip to content

Commit f64a21b

Browse files
tmzullingergitster
authored andcommitted
Documentation/git-show-branch: avoid literal {apostrophe}
The {apostrophe} was needed at the time of a521845 ("Documentation: remove stray backslash in show-branch discussion", 2010-08-20). All other uses of {apostrophe} were removed in 6cf378f ("docs: stop using asciidoc no-inline-literal", 2012-04-26). Unfortunately, the {apostrophe} is rendered literally with Asciidoctor (at least with 1.5.5-2.0.3). Avoid this by using single-quotes. Escaping the leading single-quote allows the content to render properly in AsciiDoc and Asciidoctor. Signed-off-by: Todd Zullinger <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent aeb582a commit f64a21b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-show-branch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ $ git show-branch master fixes mhf
167167
------------------------------------------------
168168

169169
These three branches all forked from a common commit, [master],
170-
whose commit message is "Add {apostrophe}git show-branch{apostrophe}".
170+
whose commit message is "Add \'git show-branch'".
171171
The "fixes" branch adds one commit "Introduce "reset type" flag to
172172
"git reset"". The "mhf" branch adds many other commits.
173173
The current branch is "master".

0 commit comments

Comments
 (0)