Thread (1 message) 1 message, 1 author, 2016-06-15
  • (off-list ancestor, not in this archive)
  • Re: error in tuto2? · Junio C Hamano <hidden> · 2016-06-15

Re: error in tuto2?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:50
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

Possibly related (same subject, not in this thread)

calmar [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help