]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation: render special characters correctly
authorAndrei Rybak <rybak.a.v@gmail.com>
Thu, 29 Jul 2021 11:02:52 +0000 (13:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Jul 2021 16:08:12 +0000 (09:08 -0700)
Three hyphens are rendered verbatim, so "--" has to be used to produce a
dash.  There is no double arrow ("<->" is rendered as "<→"), so a left
and right arrow "<-->" have to be combined for that.

So fix asciidoc output for special characters.  This is similar to fixes
in commit de82095a95 (doc hash-function-transition: fix asciidoc output,
2021-02-05).

Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fetch.txt
Documentation/gittutorial.txt

index 9067c2079e44c140fcb46c34ec708842f7dde5b4..550c16ca61651a46625c2a175de08ca8c0d20880 100644 (file)
@@ -133,7 +133,7 @@ remember to run that, set `fetch.prune` globally, or
 linkgit:git-config[1].
 
 Here's where things get tricky and more specific. The pruning feature
-doesn't actually care about branches, instead it'll prune local <->
+doesn't actually care about branches, instead it'll prune local <-->
 remote-references as a function of the refspec of the remote (see
 `<refspec>` and <<CRTB,CONFIGURED REMOTE-TRACKING BRANCHES>> above).
 
index 59ef5cef1f080d079109c50f6034ff88901c658f..0e0b863105b104b706d3cc75b4d3998a4abe580f 100644 (file)
@@ -322,7 +322,7 @@ initiating this "pull".  If Bob's work conflicts with what Alice did since
 their histories forked, Alice will use her working tree and the index to
 resolve conflicts, and existing local changes will interfere with the
 conflict resolution process (Git will still perform the fetch but will
-refuse to merge --- Alice will have to get rid of her local changes in
+refuse to merge -- Alice will have to get rid of her local changes in
 some way and pull again when this happens).
 
 Alice can peek at what Bob did without merging first, using the "fetch"