summaryrefslogtreecommitdiff
path: root/Documentation/tutorial-2.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-21 17:37:25 -0700
committerJunio C Hamano <junkio@cox.net>2006-05-21 17:37:25 -0700
commitd5e3d60c200b214e36eacfb3de21044a7efd1971 (patch)
tree93e2856997c5cb99adfc3d959204b01828a9f24c /Documentation/tutorial-2.txt
parente31952da5c52a4c1e028de634204c6bc2504771f (diff)
downloadgit-d5e3d60c200b214e36eacfb3de21044a7efd1971.tar.gz
tutorial-2: typofix in examples.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/tutorial-2.txt')
-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.