Code

Documentation: quote {non-attributes} for asciidoc
authorJeff King <peff@peff.net>
Mon, 2 Jul 2007 05:24:59 +0000 (01:24 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Jul 2007 08:33:44 +0000 (01:33 -0700)
commit967506bbbdc38e75263d6e6a90e3b8dbba6cec0f
tree4065e793c7fb46125291dea34971dc6356604191
parenta2f8028d3d661b314d5a784764f2f5f9e4c2dde0
Documentation: quote {non-attributes} for asciidoc

Asciidoc treats {foo} as an attribute to be substituted; if
'foo' doesn't exist as an attribute, then the entire line
gets dropped. When the literal {foo} is desired, \{foo} is
required.

The exceptions to this rule are:
  - inside literal blocks
  - if the 'foo' contains non-alphanumeric characters (e.g.,
    {foo|bar} is assumed not to be an attribute)

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt
Documentation/git-checkout.txt
Documentation/git-receive-pack.txt
Documentation/git-rev-list.txt