threads / discuss / 6466

error in tuto2?

Subject: error in tuto2?

## tl;dr

2 messages between Jan 22, 2007 and Jan 22, 2007.

replies: 1people: 2as markdown or json

calmar· Jan 22, 2007, 02:04 UTC · lore
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· Jan 22, 2007, 05:21 UTC · re: calmar · lore

Re: error in tuto2?

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

← back to recent threads