@matheusbsbs / matheus-bagliano / commits / 10455d2a95
Fork 0

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>

Johannes Schindelin committed Nov 30, 2007 at 11:35 UTC 10455d2a955a29db1809be139177e4e298771eb0
9 files changed +9 -9
Documentation/user-manual.txt
+1 -1
@@ -3706,7 +3706,7 @@ should use the `--remove` and `--add` flags respectively.
3706 NOTE! A `--remove` flag does 'not' mean that subsequent filenames will
3707 necessarily be removed: if the files still exist in your directory
3708 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
3710 considering a removed file to be a valid thing, and if the file really
3711 does not exist any more, it will update the index accordingly.
3712
Makefile
+1 -1
@@ -107,7 +107,7 @@ all::
107 # times (my ext3 doesn't).
108 #
109 # 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.
111 #
112 # Define ASCIIDOC8 if you want to format documentation with AsciiDoc 8
113 #
configure.ac
+1 -1
@@ -397,7 +397,7 @@ GIT_PARSE_WITH(iconv))
397 # times (my ext3 doesn't).
398 #
399 # 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.
401
402
403 ## Output files
t/t4000-diff-format.sh
+1 -1
@@ -16,7 +16,7 @@ cat path0 >path1
16 chmod +x path1
17
18 test_expect_success \
19 - 'update-cache --add two files with and without +x.' \
19 + 'update-index --add two files with and without +x.' \
20 'git update-index --add path0 path1'
21
22 mv path0 path0-
t/t4001-diff-rename.sh
+1 -1
@@ -27,7 +27,7 @@ Line 15
27 '
28
29 test_expect_success \
30 - 'update-cache --add a file.' \
30 + 'update-index --add a file.' \
31 'git update-index --add path0'
32
33 test_expect_success \
t/t4100/t-apply-1.patch
+1 -1
@@ -90,7 +90,7 @@ diff --git a/Documentation/git.txt b/Documentation/git.txt
90 diff --git a/Makefile b/Makefile
91 --- a/Makefile
92 +++ 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
94 git-checkout-cache git-diff-tree git-rev-tree git-ls-files \
95 git-check-files git-ls-tree git-merge-base git-merge-cache \
96 git-unpack-file git-export git-diff-cache git-convert-cache \
t/t4100/t-apply-2.patch
+1 -1
@@ -9,7 +9,7 @@ diff --git a/Makefile b/Makefile
9 - git-deltafy-script
10 + git-deltafy-script git-fetch-script
11
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 \
13 git-read-tree git-commit-tree git-cat-file git-fsck-cache \
14 diff --git a/git-pull-script b/git-fetch-script
15 similarity index 87%
t/t4100/t-apply-5.patch
+1 -1
@@ -200,7 +200,7 @@ diff a/Documentation/git.txt b/Documentation/git.txt
200 diff a/Makefile b/Makefile
201 --- a/Makefile
202 +++ 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
204 git-checkout-cache git-diff-tree git-rev-tree git-ls-files \
205 git-check-files git-ls-tree git-merge-base git-merge-cache \
206 git-unpack-file git-export git-diff-cache git-convert-cache \
t/t4100/t-apply-6.patch
+1 -1
@@ -8,7 +8,7 @@ diff a/Makefile b/Makefile
8 - git-deltafy-script
9 + git-deltafy-script git-fetch-script
10
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 \
12 git-read-tree git-commit-tree git-cat-file git-fsck-cache \
13 diff a/git-fetch-script b/git-fetch-script
14 --- /dev/null