git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] AsciiDoc fix for tutorial
@ 2006-03-04 16:35 Francis Daly
  2006-03-04 21:51 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Francis Daly @ 2006-03-04 16:35 UTC (permalink / raw)
  To: git

RE \^.+\^ becomes <sup>. Not wanted here

---

 Documentation/tutorial.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

7b81a656bfa1faea449f4c9c083d69f940912a8d
diff --git a/Documentation/tutorial.txt b/Documentation/tutorial.txt
index 66680d7..268a877 100644
--- a/Documentation/tutorial.txt
+++ b/Documentation/tutorial.txt
@@ -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
-- 
1.2.GIT

-- 
Francis Daly        francis@daoine.org

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] AsciiDoc fix for tutorial
  2006-03-04 16:35 [PATCH] AsciiDoc fix for tutorial Francis Daly
@ 2006-03-04 21:51 ` Junio C Hamano
  2006-03-04 23:07   ` Francis Daly
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2006-03-04 21:51 UTC (permalink / raw)
  To: Francis Daly; +Cc: git

Francis Daly <francis@daoine.org> writes:

>  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}^^,

Thanks.  Why not 5 {caret}, not just three {caret} plus ^^?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] AsciiDoc fix for tutorial
  2006-03-04 21:51 ` Junio C Hamano
@ 2006-03-04 23:07   ` Francis Daly
  0 siblings, 0 replies; 3+ messages in thread
From: Francis Daly @ 2006-03-04 23:07 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

On Sat, Mar 04, 2006 at 01:51:47PM -0800, Junio C Hamano wrote:
> Francis Daly <francis@daoine.org> writes:
> 
> >  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}^^,
> 
> 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
-- 
Francis Daly        francis@daoine.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-04 23:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-04 16:35 [PATCH] AsciiDoc fix for tutorial Francis Daly
2006-03-04 21:51 ` Junio C Hamano
2006-03-04 23:07   ` Francis Daly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).