Correct ^0 asciidoc syntax in fast-import docs.
authorShawn O. Pearce <spearce@spearce.org>
Thu, 8 Feb 2007 06:35:37 +0000 (01:35 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 8 Feb 2007 06:35:37 +0000 (01:35 -0500)
I wrote this documentation with asciidoc 7.1.2, but apparently
asciidoc 8 assumes ^ means superscript. The solution was already
documented in rev-parse's manpage and is to use {caret} instead.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Documentation/git-fast-import.txt
index 0b64d3348b1cf31830ed1e953d551eb74a396d33..0c4476109d47254133d3a664439cc93d7a2abf4d 100644 (file)
@@ -380,9 +380,9 @@ current branch value should be written as:
 ----
        from refs/heads/branch^0
 ----
 ----
        from refs/heads/branch^0
 ----
-The `^0` suffix is necessary as gfi does not permit a branch to
+The `{caret}0` suffix is necessary as gfi does not permit a branch to
 start from itself, and the branch is created in memory before the
 start from itself, and the branch is created in memory before the
-`from` command is even read from the input.  Adding `^0` will force
+`from` command is even read from the input.  Adding `{caret}0` will force
 gfi to resolve the commit through Git's revision parsing library,
 rather than its internal branch table, thereby loading in the
 existing value of the branch.
 gfi to resolve the commit through Git's revision parsing library,
 rather than its internal branch table, thereby loading in the
 existing value of the branch.