summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-21 17:37:25 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-21 17:37:25 -0700
commitd5e3d60c200b214e36eacfb3de21044a7efd1971 (patch)
tree93e2856997c5cb99adfc3d959204b01828a9f24c
parenttutorial: add discussion of index file, object database (diff)
downloadtgif-d5e3d60c200b214e36eacfb3de21044a7efd1971.tar.xz
tutorial-2: typofix in examples.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Documentation/tutorial-2.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/tutorial-2.txt b/Documentation/tutorial-2.txt
index a3d45ee569..7de91aa735 100644
--- a/Documentation/tutorial-2.txt
+++ b/Documentation/tutorial-2.txt
@@ -214,7 +214,7 @@ $ git diff
+++ b/file.txt
@@ -1 +1,2 @@
hello world!
- +hello world, again
++hello world, again
$ git update-index file.txt
$ git diff
------------------------------------------------
@@ -230,7 +230,7 @@ index a042389..513feba 100644
+++ b/file.txt
@@ -1 +1,2 @@
hello world!
- +hello world, again
++hello world, again
------------------------------------------------
So "git diff" is comparing against something other than the head.