Code

Documentation: Fix mark-up of lines with more than one tilde
authorJunio C Hamano <gitster@pobox.com>
Thu, 2 Dec 2010 19:23:50 +0000 (11:23 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Dec 2010 19:30:35 +0000 (11:30 -0800)
commitbe1b0558777dafa7b8993bc371cbe4078350e4e9
tree4857ab73e8d0dd8d04bae99819bcd8a8cd7c858f
parent47f16e8b110d84bacb586a1b7183ee4bb781c980
Documentation: Fix mark-up of lines with more than one tilde

The manual pages of cherry-pick and revert had examples with two revisions
on the same line in the examples section, that looked like this:

    git cherry-pick master~4 master~2::

Unfortunately, this is taken as a mark-up to make the part between two
tildes, "4 master", subscript.  Use {tilde} to make it explicit that we
do want ~ characters in these places (backslash does not help).

Reported-by: Sylvain Rabot <sylvain.rabot@f-secure.com>
Helped-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-cherry-pick.txt
Documentation/git-revert.txt