@matheusbsbs / matheus-bagliano / commits / 209f129857
Fork 0

Correct ^0 asciidoc syntax in fast-import docs.

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>

Shawn O. Pearce committed Feb 8, 2007 at 01:35 UTC 209f129857bddd653e4ea2af2d310cbb8d8c8b5f
1 file changed +2 -2
Documentation/git-fast-import.txt
+2 -2
@@ -380,9 +380,9 @@ current branch value should be written as:
380 ----
381 from refs/heads/branch^0
382 ----
383 -The `^0` suffix is necessary as gfi does not permit a branch to
383 +The `{caret}0` suffix is necessary as gfi does not permit a branch to
384 start from itself, and the branch is created in memory before the
385 -`from` command is even read from the input. Adding `^0` will force
385 +`from` command is even read from the input. Adding `{caret}0` will force
386 gfi to resolve the commit through Git's revision parsing library,
387 rather than its internal branch table, thereby loading in the
388 existing value of the branch.