doc: remove "directory cache" from man pages

"directory cache" (or "directory cache index", "cache") are obsolete terms which have been superseded by "index". Keeping them in the documentation may be a source of confusion. This commit replaces them with the current term, "index", on man pages. Signed-off-by: Utku Gultopu <ugultopu@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Utku Gultopu committed Jan 8, 2021 at 16:54 UTC b356d236389979f8c65ee76562d44acc62efdc46
2 files changed +4 -6
Documentation/git-ls-files.txt
+2 -3
@@ -23,9 +23,8 @@ SYNOPSIS
23
24 DESCRIPTION
25 -----------
26 -This merges the file listing in the directory cache index with the
27 -actual working directory list, and shows different combinations of the
28 -two.
26 +This merges the file listing in the index with the actual working
27 +directory list, and shows different combinations of the two.
28
29 One or more of the options below may be used to determine the files
30 shown:
Documentation/git-update-index.txt
+2 -3
@@ -30,9 +30,8 @@ SYNOPSIS
30
31 DESCRIPTION
32 -----------
33 -Modifies the index or directory cache. Each file mentioned is updated
34 -into the index and any 'unmerged' or 'needs updating' state is
35 -cleared.
33 +Modifies the index. Each file mentioned is updated into the index and
34 +any 'unmerged' or 'needs updating' state is cleared.
35
36 See also linkgit:git-add[1] for a more user-friendly way to do some of
37 the most common operations on the index.