AsciiDoc fix for tutorial
PATCH 1/1 AsciiDoc fix for tutorial
RE \^.+\^ becomes <sup>. Not wanted here
---
Documentation/tutorial.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
7b81a656bfa1faea449f4c9c083d69f940912a8d
Documentation/tutorial.txt +1 -1
@@ -309,7 +309,7 @@ git diff HEAD^^ HEAD^ ------------------------------------- shows the difference between that previous state and the state two -commits ago. Also, HEAD~5 can be used as a shorthand for HEAD^^^^^, +commits ago. Also, HEAD~5 can be used as a shorthand for HEAD{caret}{caret}{caret}^^, and more generally HEAD~n can refer to the nth previous commit. Commits representing merges have more than one parent, and you can specify which parent to follow in that case; see
Signature · 4 lines
1.2.GIT -- Francis Daly [email protected]
Documentation/tutorial.txt git diff HEAD^^ HEAD^ · line 312
Quoted 3 lines · Francis Daly
shows the difference between that previous state and the state two
Documentation/tutorial.txt +1
-1-commits ago. Also, HEAD~5 can be used as a shorthand for HEAD^^^^^, +commits ago. Also, HEAD~5 can be used as a shorthand for HEAD{caret}{caret}{caret}^^,
Thanks. Why not 5 {caret}, not just three {caret} plus ^^?
Quoted 7 lines · Junio C Hamano
Documentation/tutorial.txt git diff HEAD^^ HEAD^ · line 312
Quoted 3 lines · Francis Daly
shows the difference between that previous state and the state two
Documentation/tutorial.txt +1
-1-commits ago. Also, HEAD~5 can be used as a shorthand for HEAD^^^^^, +commits ago. Also, HEAD~5 can be used as a shorthand for HEAD{caret}{caret}{caret}^^,Thanks. Why not 5 {caret}, not just three {caret} plus ^^?
No real reason; the asciidoc parser accepts two together so I left them there. Anyone reading a transformed version should see the real ^s, so the question is whether it's clearer for someone reading the .txt file to see a mixture with a passing resemblance to a few lines earlier, or just to see {caret} consistently.
5 {caret} is fine by me.
For more consistency, there are three other ^s in the file could which could also be changed, but none of them cause breakage now.
f
Signature · 1 line
Francis Daly [email protected]