path: root/Documentation/git-checkout.txt
diff options
authorJeff King <>2007-07-02 05:24:59 (GMT)
committerJunio C Hamano <>2007-07-02 08:33:44 (GMT)
commit967506bbbdc38e75263d6e6a90e3b8dbba6cec0f (patch)
tree4065e793c7fb46125291dea34971dc6356604191 /Documentation/git-checkout.txt
parenta2f8028d3d661b314d5a784764f2f5f9e4c2dde0 (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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-checkout.txt')
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt
index ea26da8..a6571d2 100644
--- a/Documentation/git-checkout.txt
+++ b/Documentation/git-checkout.txt
@@ -64,7 +64,7 @@ OPTIONS
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}".
If you have local modifications to one or more files that