Skip to content

Commit 10455d2

Browse files
dschogitster
authored andcommitted
Replace the word 'update-cache' by 'update-index' everywhere
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 67d2324 commit 10455d2

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

Documentation/user-manual.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3706,7 +3706,7 @@ should use the `--remove` and `--add` flags respectively.
37063706
NOTE! A `--remove` flag does 'not' mean that subsequent filenames will
37073707
necessarily be removed: if the files still exist in your directory
37083708
structure, the index will be updated with their new status, not
3709-
removed. The only thing `--remove` means is that update-cache will be
3709+
removed. The only thing `--remove` means is that update-index will be
37103710
considering a removed file to be a valid thing, and if the file really
37113711
does not exist any more, it will update the index accordingly.
37123712

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ all::
107107
# times (my ext3 doesn't).
108108
#
109109
# Define USE_STDEV below if you want git to care about the underlying device
110-
# change being considered an inode change from the update-cache perspective.
110+
# change being considered an inode change from the update-index perspective.
111111
#
112112
# Define ASCIIDOC8 if you want to format documentation with AsciiDoc 8
113113
#

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ GIT_PARSE_WITH(iconv))
397397
# times (my ext3 doesn't).
398398
#
399399
# Define USE_STDEV below if you want git to care about the underlying device
400-
# change being considered an inode change from the update-cache perspective.
400+
# change being considered an inode change from the update-index perspective.
401401

402402

403403
## Output files

t/t4000-diff-format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cat path0 >path1
1616
chmod +x path1
1717

1818
test_expect_success \
19-
'update-cache --add two files with and without +x.' \
19+
'update-index --add two files with and without +x.' \
2020
'git update-index --add path0 path1'
2121

2222
mv path0 path0-

t/t4001-diff-rename.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Line 15
2727
'
2828

2929
test_expect_success \
30-
'update-cache --add a file.' \
30+
'update-index --add a file.' \
3131
'git update-index --add path0'
3232

3333
test_expect_success \

t/t4100/t-apply-1.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ diff --git a/Documentation/git.txt b/Documentation/git.txt
9090
diff --git a/Makefile b/Makefile
9191
--- a/Makefile
9292
+++ b/Makefile
93-
@@ -30,7 +30,7 @@ PROG= git-update-cache git-diff-files
93+
@@ -30,7 +30,7 @@ PROG= git-update-index git-diff-files
9494
git-checkout-cache git-diff-tree git-rev-tree git-ls-files \
9595
git-check-files git-ls-tree git-merge-base git-merge-cache \
9696
git-unpack-file git-export git-diff-cache git-convert-cache \

t/t4100/t-apply-2.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ diff --git a/Makefile b/Makefile
99
- git-deltafy-script
1010
+ git-deltafy-script git-fetch-script
1111

12-
PROG= git-update-cache git-diff-files git-init-db git-write-tree \
12+
PROG= git-update-index git-diff-files git-init-db git-write-tree \
1313
git-read-tree git-commit-tree git-cat-file git-fsck-cache \
1414
diff --git a/git-pull-script b/git-fetch-script
1515
similarity index 87%

t/t4100/t-apply-5.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ diff a/Documentation/git.txt b/Documentation/git.txt
200200
diff a/Makefile b/Makefile
201201
--- a/Makefile
202202
+++ b/Makefile
203-
@@ -30,7 +30,7 @@ PROG= git-update-cache git-diff-files
203+
@@ -30,7 +30,7 @@ PROG= git-update-index git-diff-files
204204
git-checkout-cache git-diff-tree git-rev-tree git-ls-files \
205205
git-check-files git-ls-tree git-merge-base git-merge-cache \
206206
git-unpack-file git-export git-diff-cache git-convert-cache \

t/t4100/t-apply-6.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ diff a/Makefile b/Makefile
88
- git-deltafy-script
99
+ git-deltafy-script git-fetch-script
1010

11-
PROG= git-update-cache git-diff-files git-init-db git-write-tree \
11+
PROG= git-update-index git-diff-files git-init-db git-write-tree \
1212
git-read-tree git-commit-tree git-cat-file git-fsck-cache \
1313
diff a/git-fetch-script b/git-fetch-script
1414
--- /dev/null

0 commit comments

Comments
 (0)