git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/3] Replace the last 'dircache's by 'index'

From
Jakub Narebski <jnareb@gmail.com>
Date
May 25, 2007, 22:37 UTC
Message-ID
<11801326633595-git-send-email-jnareb@gmail.com>
In-Reply-To
<1180132662719-git-send-email-jnareb@gmail.com>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
---
 Documentation/git-ls-files.txt |    2 +-
 diff.c                         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt
index 076cebc..43e0d22 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 0e26049..508bc51 100644
--- a/diff.c
+++ b/diff.c
@@ -1349,7 +1349,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.
  */
-- 
1.5.2
Previous: Jakub NarebskiNext: J. Bruce Fields
Message 3 of 8 in “Documentation: Clean up links in GIT Glossary”
  1. 1/3 Documentation: Clean up links in GIT GlossaryJakub Narebski, May 25, 2007
  2. 2/3 Documentation: Add definition of "evil merge" to GIT GlossaryJakub Narebski, May 25, 2007
  3. 3/3 Replace the last 'dircache's by 'index'Jakub Narebski, May 25, 2007
  4. J. Bruce FieldsMay 26, 2007
  5. Jakub NarebskiMay 26, 2007
  6. Johannes SchindelinMay 26, 2007
  7. Shawn O. PearceMay 26, 2007
  8. J. Bruce FieldsMay 25, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.