# Fix typo in tutorial-2.txt

5 messages from 2006-06-05 to 2006-06-05. Participants: Linus Torvalds, Johannes Schindelin, J. Bruce Fields.
Thread: https://gitlist.dev/t/4403

## Linus Torvalds, 2006-06-05 19:47

Subject: Fix typo in tutorial-2.txt
Message-ID: <Pine.LNX.4.64.0606051245470.5498@g5.osdl.org>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0606051245470.5498%40g5.osdl.org

```

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!
 ------------------------------------------------
 

```

## Johannes Schindelin, 2006-06-05 23:15

Subject: Re: Fix typo in tutorial-2.txt
Message-ID: <Pine.LNX.4.63.0606060111570.25344@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0606060111570.25344%40wbgn013.biozentrum.uni-wuerzburg.de
In-Reply-To: <Pine.LNX.4.64.0606051245470.5498@g5.osdl.org>

```
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

```

## J. Bruce Fields, 2006-06-05 23:38

Subject: Re: Fix typo in tutorial-2.txt
Message-ID: <20060605233810.GA14993@fieldses.org>
URL: https://gitlist.dev/e/20060605233810.GA14993%40fieldses.org
In-Reply-To: <Pine.LNX.4.64.0606051245470.5498@g5.osdl.org>

```
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.

```

## J. Bruce Fields, 2006-06-05 23:44

Subject: Re: Fix typo in tutorial-2.txt
Message-ID: <20060605234441.GB14993@fieldses.org>
URL: https://gitlist.dev/e/20060605234441.GB14993%40fieldses.org
In-Reply-To: <Pine.LNX.4.63.0606060111570.25344@wbgn013.biozentrum.uni-wuerzburg.de>

```
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.

```

## Linus Torvalds, 2006-06-05 23:58

Subject: Re: Fix typo in tutorial-2.txt
Message-ID: <Pine.LNX.4.64.0606051654390.5498@g5.osdl.org>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0606051654390.5498%40g5.osdl.org
In-Reply-To: <20060605234441.GB14993@fieldses.org>

```


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

```
