git-ls-remote.txt: wrap shell listing in "----"
The second "column" in the output of `git ls-remote` is typeset differently by AsciiDoc and Asciidoctor, similar to various examples touched by the last few commits. Fix this by marking the example shell session as a code listing by wrapping it in "----". Because this gives us some extra indentation, we can remove the one that we have been carrying explicitly. That is, drop the first tab of indentation on each line. With AsciiDoc, this results in identical rendering before and after this commit. Asciidoctor now renders this the same as AsciiDoc does. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
1925fe0c8a
commit
5371813768
@ -92,6 +92,7 @@ OPTIONS
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
----
|
||||||
$ git ls-remote --tags ./.
|
$ git ls-remote --tags ./.
|
||||||
d6602ec5194c87b0fc87103ca4d67251c76f233a refs/tags/v0.99
|
d6602ec5194c87b0fc87103ca4d67251c76f233a refs/tags/v0.99
|
||||||
f25a265a342aed6041ab0cc484224d9ca54b6f41 refs/tags/v0.99.1
|
f25a265a342aed6041ab0cc484224d9ca54b6f41 refs/tags/v0.99.1
|
||||||
@ -107,6 +108,7 @@ EXAMPLES
|
|||||||
f25a265a342aed6041ab0cc484224d9ca54b6f41 refs/tags/v0.99.1
|
f25a265a342aed6041ab0cc484224d9ca54b6f41 refs/tags/v0.99.1
|
||||||
c5db5456ae3b0873fc659c19fafdde22313cc441 refs/tags/v0.99.2
|
c5db5456ae3b0873fc659c19fafdde22313cc441 refs/tags/v0.99.2
|
||||||
7ceca275d047c90c0c7d5afb13ab97efdf51bd6e refs/tags/v0.99.3
|
7ceca275d047c90c0c7d5afb13ab97efdf51bd6e refs/tags/v0.99.3
|
||||||
|
----
|
||||||
|
|
||||||
SEE ALSO
|
SEE ALSO
|
||||||
--------
|
--------
|
||||||
|
Reference in New Issue
Block a user