aboutsummaryrefslogtreecommitdiff
path: root/csum-file.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-05-26 22:32:41 -0400
committerJunio C Hamano <gitster@pobox.com>2011-05-26 22:15:38 -0700
commit715e716a1b5bc1bc71715286e7a10b7e0c3188e8 (patch)
treeaedfe9a077ca1bac78c0da00dab813cd131a0c1d /csum-file.c
parentfc17df03442185a23583b959fc70617b69ceb0ca (diff)
downloadgit-715e716a1b5bc1bc71715286e7a10b7e0c3188e8.tar.gz
git-715e716a1b5bc1bc71715286e7a10b7e0c3188e8.tar.xz
docs: make sure literal "->" isn't converted to arrow
Recent versions of asciidoc will treat "->" as a single-glyph arrow symbol, unless it is inside a literal code block. This is a problem if we are discussing literal output and want to show the ASCII characters. Our usage falls into three categories: 1. Inside a code block. These can be left as-is. 2. Discussing literal output or code, but inside a paragraph. This patch escapes these as "\->". 3. Using the arrow as a symbolic element, such as "use the Edit->Account Settings menu". In this case, the arrow symbol is preferable, so we leave it as-is. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'csum-file.c')
0 files changed, 0 insertions, 0 deletions