summaryrefslogtreecommitdiff
path: root/Documentation/git-diff-cache.txt
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2005-08-05 15:05:02 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-06 06:07:00 (GMT)
commit2c6e4771959dbe8116f39587d912f1215c06cd0d (patch)
tree4a0507fb450fc5c74ecc489701917f188a0a5077 /Documentation/git-diff-cache.txt
parenteca35ecdcaa1448de8cc9ec64590f47a9012264a (diff)
downloadgit-2c6e4771959dbe8116f39587d912f1215c06cd0d.zip
git-2c6e4771959dbe8116f39587d912f1215c06cd0d.tar.gz
git-2c6e4771959dbe8116f39587d912f1215c06cd0d.tar.bz2
[PATCH] Assorted documentation patches
[jc: Johannes spent time and effort to see how consistent our use of terminilogy is, and as a byproduct made these corrections not related to the terminology unification. I really appreciate it.] Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-diff-cache.txt')
-rw-r--r--Documentation/git-diff-cache.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/git-diff-cache.txt b/Documentation/git-diff-cache.txt
index b463593..a353d12 100644
--- a/Documentation/git-diff-cache.txt
+++ b/Documentation/git-diff-cache.txt
@@ -50,13 +50,13 @@ Cached Mode
-----------
If '--cached' is specified, it allows you to ask:
- show me the differences between HEAD and the current index
+ show me the differences between HEAD and the current cache
contents (the ones I'd write with a "git-write-tree")
-For example, let's say that you have worked on your index file, and are
-ready to commit. You want to see eactly *what* you are going to commit is
-without having to write a new tree object and compare it that way, and to
-do that, you just do
+For example, let's say that you have worked on your working directory, updated
+some files in the cache and are ready to commit. You want to see eactly
+*what* you are going to commit is without having to write a new tree
+object and compare it that way, and to do that, you just do
git-diff-cache --cached $(cat .git/HEAD)