summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-22 00:37:25 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-05-22 00:37:25 (GMT)
commitd5e3d60c200b214e36eacfb3de21044a7efd1971 (patch)
tree93e2856997c5cb99adfc3d959204b01828a9f24c
parente31952da5c52a4c1e028de634204c6bc2504771f (diff)
downloadgit-d5e3d60c200b214e36eacfb3de21044a7efd1971.zip
git-d5e3d60c200b214e36eacfb3de21044a7efd1971.tar.gz
git-d5e3d60c200b214e36eacfb3de21044a7efd1971.tar.bz2
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 a3d45ee..7de91aa 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.