diff options
author | Jeff King <peff@peff.net> | 2007-07-02 09:24:59 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-02 12:33:44 +0400 |
commit | 967506bbbdc38e75263d6e6a90e3b8dbba6cec0f (patch) | |
tree | 4065e793c7fb46125291dea34971dc6356604191 /Documentation/git-checkout.txt | |
parent | a2f8028d3d661b314d5a784764f2f5f9e4c2dde0 (diff) |
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>
Diffstat (limited to 'Documentation/git-checkout.txt')
-rw-r--r-- | Documentation/git-checkout.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index ea26da8e21..a6571d2d8d 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -64,7 +64,7 @@ OPTIONS -l:: Create the new branch's ref log. This activates recording of all changes to made the branch ref, enabling use of date - based sha1 expressions such as "<branchname>@{yesterday}". + based sha1 expressions such as "<branchname>@\{yesterday}". -m:: If you have local modifications to one or more files that |