Documentation: fix header markup

Asciidoctor is stricter than AsciiDoc when deciding if underlining
is a section title or the start of preformatted text.  Make the
length of the underlining match the text to ensure that it renders
correctly in all implementations.

Signed-off-by: Xue Fuqiao <xfq.free@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Xue Fuqiao 2015-10-22 20:59:00 +08:00 committed by Junio C Hamano
parent 282616c72d
commit a3e1fa97bc

View File

@ -1491,7 +1491,7 @@ resolving a merge>>.
[[fixing-a-mistake-by-rewriting-history]] [[fixing-a-mistake-by-rewriting-history]]
Fixing a mistake by rewriting history Fixing a mistake by rewriting history
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If the problematic commit is the most recent commit, and you have not If the problematic commit is the most recent commit, and you have not
yet made that commit public, then you may just yet made that commit public, then you may just