Skip to content

Commit 5adf317

Browse files
jnarebJunio C Hamano
authored andcommitted
Replace the last 'dircache's by 'index'
Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent a58f3c0 commit 5adf317

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/git-ls-files.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ which case it outputs:
124124
detailed information on unmerged paths.
125125

126126
For an unmerged path, instead of recording a single mode/SHA1 pair,
127-
the dircache records up to three such pairs; one from tree O in stage
127+
the index records up to three such pairs; one from tree O in stage
128128
1, A in stage 2, and B in stage 3. This information can be used by
129129
the user (or the porcelain) to see what should eventually be recorded at the
130130
path. (see git-read-tree for more information on state)

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ void fill_filespec(struct diff_filespec *spec, const unsigned char *sha1,
12581258
}
12591259

12601260
/*
1261-
* Given a name and sha1 pair, if the dircache tells us the file in
1261+
* Given a name and sha1 pair, if the index tells us the file in
12621262
* the work tree has that object contents, return true, so that
12631263
* prepare_temp_file() does not have to inflate and extract.
12641264
*/

0 commit comments

Comments
 (0)