aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2007-05-26 00:37:40 +0200
committerJunio C Hamano <junkio@cox.net>2007-05-25 20:54:23 -0700
commit5adf317b31729707fad4967c1aef6cdba43d0dd3 (patch)
tree7426b5e25922ca0e335a620f2ba3892c2b2b1b66
parenta58f3c01f7e6aecb486aadece040a6293eb43059 (diff)
downloadgit-5adf317b31729707fad4967c1aef6cdba43d0dd3.tar.gz
git-5adf317b31729707fad4967c1aef6cdba43d0dd3.tar.xz
Replace the last 'dircache's by 'index'
Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Documentation/git-ls-files.txt2
-rw-r--r--diff.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt
index 79e0b7b71..b7c8ab5f7 100644
--- a/Documentation/git-ls-files.txt
+++ b/Documentation/git-ls-files.txt
@@ -124,7 +124,7 @@ which case it outputs:
detailed information on unmerged paths.
For an unmerged path, instead of recording a single mode/SHA1 pair,
-the dircache records up to three such pairs; one from tree O in stage
+the index records up to three such pairs; one from tree O in stage
1, A in stage 2, and B in stage 3. This information can be used by
the user (or the porcelain) to see what should eventually be recorded at the
path. (see git-read-tree for more information on state)
diff --git a/diff.c b/diff.c
index 3c1555371..487168be4 100644
--- a/diff.c
+++ b/diff.c
@@ -1258,7 +1258,7 @@ void fill_filespec(struct diff_filespec *spec, const unsigned char *sha1,
}
/*
- * Given a name and sha1 pair, if the dircache tells us the file in
+ * Given a name and sha1 pair, if the index tells us the file in
* the work tree has that object contents, return true, so that
* prepare_temp_file() does not have to inflate and extract.
*/