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>
Jeff King committed
Jul 2, 2007 at 01:24 UTC
9a5391cf1836fa1b66f3c89ce9b38f8249bb0521
1 file changed
+4
-4
Documentation/git-stash.txt
+4
-4
@@ -26,8 +26,8 @@ list`.
26
27
The latest stash you created is stored in `$GIT_DIR/refs/stash`; older
28
stashes are found in the reflog of this reference and can be named using
29
-the usual reflog syntax (e.g. `stash@{1}` is the most recently
30
-created stash, `stash@{2}` is the one before it, `stash@{2.hours.ago}`
29
+the usual reflog syntax (e.g. `stash@\{1}` is the most recently
30
+created stash, `stash@\{2}` is the one before it, `stash@\{2.hours.ago}`
31
is also possible).
32
33
OPTIONS
@@ -41,7 +41,7 @@ save::
41
list::
42
43
List the stashes that you currently have. Each 'stash' is listed
44
- with its name (e.g. `stash@{0}` is the latest stash, `stash@{1} is
44
+ with its name (e.g. `stash@\{0}` is the latest stash, `stash@\{1} is
45
the one before, etc.), the name of the branch that was current when the
46
stash was made, and a short description of the commit the stash was
47
based on.
@@ -57,7 +57,7 @@ show [<stash>]::
57
stashed state and its original parent. When no `<stash>` is given,
58
shows the latest one. By default, the command shows the diffstat, but
59
it will accept any format known to `git-diff` (e.g., `git-stash show
60
- -p stash@{2}` to view the second most recent stash in patch form).
60
+ -p stash@\{2}` to view the second most recent stash in patch form).
61
62
apply [<stash>]::
63