* Fix typo in tutorial-2.txt
@ 2006-06-05 19:47 Linus Torvalds
2006-06-05 23:15 ` Johannes Schindelin
2006-06-05 23:38 ` J. Bruce Fields
0 siblings, 2 replies; 5+ messages in thread
From: Linus Torvalds @ 2006-06-05 19:47 UTC (permalink / raw)
To: J. Bruce Fields, Junio C Hamano, Git Mailing List
This should be obvious enough.
I didn't actually _test_ the tutorial, but if the old command worked,
something is really wrong!
Signed-off-by: Linus "Duh!" Torvalds <torvalds@osdl.org>
---
Documentation/tutorial-2.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/tutorial-2.txt b/Documentation/tutorial-2.txt
index 82c6922..894ca5e 100644
--- a/Documentation/tutorial-2.txt
+++ b/Documentation/tutorial-2.txt
@@ -136,7 +136,7 @@ The "tree" object here refers to the new
------------------------------------------------
$ git ls-tree d0492b36
100644 blob a0423896973644771497bdc03eb99d5281615b51 file.txt
-$ git cat-file commit a0423896
+$ git cat-file blob a0423896
hello world!
------------------------------------------------
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: Fix typo in tutorial-2.txt
2006-06-05 19:47 Fix typo in tutorial-2.txt Linus Torvalds
@ 2006-06-05 23:15 ` Johannes Schindelin
2006-06-05 23:44 ` J. Bruce Fields
2006-06-05 23:38 ` J. Bruce Fields
1 sibling, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2006-06-05 23:15 UTC (permalink / raw)
To: Linus Torvalds; +Cc: J. Bruce Fields, Junio C Hamano, Git Mailing List
Hi,
On Mon, 5 Jun 2006, Linus Torvalds wrote:
> I didn't actually _test_ the tutorial, but if the old command worked,
> something is really wrong!
Maybe some new gitter wants to get dirty hands? We used to have a test
which just replayed the commands in the tutorial, to make sure that new
users would not hit a regression or a syntax change...
Ciao,
Dscho
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fix typo in tutorial-2.txt
2006-06-05 23:15 ` Johannes Schindelin
@ 2006-06-05 23:44 ` J. Bruce Fields
2006-06-05 23:58 ` Linus Torvalds
0 siblings, 1 reply; 5+ messages in thread
From: J. Bruce Fields @ 2006-06-05 23:44 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Linus Torvalds, Junio C Hamano, Git Mailing List
On Tue, Jun 06, 2006 at 01:15:32AM +0200, Johannes Schindelin wrote:
> On Mon, 5 Jun 2006, Linus Torvalds wrote:
>
> > I didn't actually _test_ the tutorial, but if the old command worked,
> > something is really wrong!
>
> Maybe some new gitter wants to get dirty hands? We used to have a test
> which just replayed the commands in the tutorial, to make sure that new
> users would not hit a regression or a syntax change...
Might be a nice idea.
But don't commit SHA1's, e.g., depend on times, authors, etc., that we
can't count on being the same? So you'd have to be clever to deal with
stuff like
git cat-file commit a344bd52
Also, note that I didn't even attempt to keep a consistent scenario
throughout the first tutorial.
--b.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fix typo in tutorial-2.txt
2006-06-05 23:44 ` J. Bruce Fields
@ 2006-06-05 23:58 ` Linus Torvalds
0 siblings, 0 replies; 5+ messages in thread
From: Linus Torvalds @ 2006-06-05 23:58 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: Johannes Schindelin, Junio C Hamano, Git Mailing List
On Mon, 5 Jun 2006, J. Bruce Fields wrote:
>
> But don't commit SHA1's, e.g., depend on times, authors, etc., that we
> can't count on being the same?
You can set all these by hand with the
GIT_{AUTHOR,COMMITTER}_{NAME,EMAIL,DATE}
variables. In fact, the test script library already does that for authors
(although not for dates, I think) to get consistent answers.
Linus
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fix typo in tutorial-2.txt
2006-06-05 19:47 Fix typo in tutorial-2.txt Linus Torvalds
2006-06-05 23:15 ` Johannes Schindelin
@ 2006-06-05 23:38 ` J. Bruce Fields
1 sibling, 0 replies; 5+ messages in thread
From: J. Bruce Fields @ 2006-06-05 23:38 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Junio C Hamano, Git Mailing List
On Mon, Jun 05, 2006 at 12:47:49PM -0700, Linus Torvalds wrote:
>
> This should be obvious enough.
>
> I didn't actually _test_ the tutorial, but if the old command worked,
> something is really wrong!
Aie, sorry, thanks.--b.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-05 23:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-05 19:47 Fix typo in tutorial-2.txt Linus Torvalds
2006-06-05 23:15 ` Johannes Schindelin
2006-06-05 23:44 ` J. Bruce Fields
2006-06-05 23:58 ` Linus Torvalds
2006-06-05 23:38 ` J. Bruce Fields
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).