# error in tuto2?

2 messages from 2007-01-22 to 2007-01-22. Participants: calmar, Junio C Hamano.
Thread: https://gitlist.dev/t/6466

## calmar, 2007-01-22 02:04

Subject: error in tuto2?
Message-ID: <20070122020414.GA2399@localhost>
URL: https://gitlist.dev/e/20070122020414.GA2399%40localhost

```
hi,

hi, isn't there a little error:
http://www.kernel.org/pub/software/scm/git/docs/tutorial-2.html

close at the end: git cat-file blob a6b11f7a

shouldn't that be: git cat-file blob 8b9743b  ?

anyway,
cheers
marco candrian



-- 
   (o_  It rocks: LINUX + Command-Line-Interface
   //\
   V_/_                     http://www.calmar.ws

```

## Junio C Hamano, 2007-01-22 05:21

Subject: Re: error in tuto2?
Message-ID: <7vwt3fvdoy.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vwt3fvdoy.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20070122020414.GA2399@localhost>

```
calmar <mac@calmar.ws> writes:

> close at the end: git cat-file blob a6b11f7a
>
> shouldn't that be: git cat-file blob 8b9743b  ?

Interesting.  Indeed 'a6b11f7a' spells "goodbye, word" so the
example is at least internally consistent but still is wrong.

Thanks for catching.

---
diff --git a/Documentation/tutorial-2.txt b/Documentation/tutorial-2.txt
index f48894c..f363d17 100644
--- a/Documentation/tutorial-2.txt
+++ b/Documentation/tutorial-2.txt
@@ -343,8 +343,8 @@ And, as you can see with cat-file, this new entry refers to the
 current contents of the file:
 
 ------------------------------------------------
-$ git cat-file blob a6b11f7a
-goodbye, word
+$ git cat-file blob 8b9743b2
+goodbye, world
 ------------------------------------------------
 
 The "status" command is a useful way to get a quick summary of the

```
