Skip to content

Commit

Permalink
Replace the word 'update-cache' by 'update-index' everywhere
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Johannes Schindelin authored and Junio C Hamano committed Nov 30, 2007
1 parent 67d2324 commit 10455d2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Documentation/user-manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3706,7 +3706,7 @@ should use the `--remove` and `--add` flags respectively.
NOTE! A `--remove` flag does 'not' mean that subsequent filenames will
necessarily be removed: if the files still exist in your directory
structure, the index will be updated with their new status, not
removed. The only thing `--remove` means is that update-cache will be
removed. The only thing `--remove` means is that update-index will be
considering a removed file to be a valid thing, and if the file really
does not exist any more, it will update the index accordingly.

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ all::
# times (my ext3 doesn't).
#
# Define USE_STDEV below if you want git to care about the underlying device
# change being considered an inode change from the update-cache perspective.
# change being considered an inode change from the update-index perspective.
#
# Define ASCIIDOC8 if you want to format documentation with AsciiDoc 8
#
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ GIT_PARSE_WITH(iconv))
# times (my ext3 doesn't).
#
# Define USE_STDEV below if you want git to care about the underlying device
# change being considered an inode change from the update-cache perspective.
# change being considered an inode change from the update-index perspective.


## Output files
Expand Down
2 changes: 1 addition & 1 deletion t/t4000-diff-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cat path0 >path1
chmod +x path1

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

mv path0 path0-
Expand Down
2 changes: 1 addition & 1 deletion t/t4001-diff-rename.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Line 15
'

test_expect_success \
'update-cache --add a file.' \
'update-index --add a file.' \
'git update-index --add path0'

test_expect_success \
Expand Down
2 changes: 1 addition & 1 deletion t/t4100/t-apply-1.patch
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ diff --git a/Documentation/git.txt b/Documentation/git.txt
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ PROG= git-update-cache git-diff-files
@@ -30,7 +30,7 @@ PROG= git-update-index git-diff-files
git-checkout-cache git-diff-tree git-rev-tree git-ls-files \
git-check-files git-ls-tree git-merge-base git-merge-cache \
git-unpack-file git-export git-diff-cache git-convert-cache \
Expand Down
2 changes: 1 addition & 1 deletion t/t4100/t-apply-2.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ diff --git a/Makefile b/Makefile
- git-deltafy-script
+ git-deltafy-script git-fetch-script

PROG= git-update-cache git-diff-files git-init-db git-write-tree \
PROG= git-update-index git-diff-files git-init-db git-write-tree \
git-read-tree git-commit-tree git-cat-file git-fsck-cache \
diff --git a/git-pull-script b/git-fetch-script
similarity index 87%
Expand Down
2 changes: 1 addition & 1 deletion t/t4100/t-apply-5.patch
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ diff a/Documentation/git.txt b/Documentation/git.txt
diff a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ PROG= git-update-cache git-diff-files
@@ -30,7 +30,7 @@ PROG= git-update-index git-diff-files
git-checkout-cache git-diff-tree git-rev-tree git-ls-files \
git-check-files git-ls-tree git-merge-base git-merge-cache \
git-unpack-file git-export git-diff-cache git-convert-cache \
Expand Down
2 changes: 1 addition & 1 deletion t/t4100/t-apply-6.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ diff a/Makefile b/Makefile
- git-deltafy-script
+ git-deltafy-script git-fetch-script

PROG= git-update-cache git-diff-files git-init-db git-write-tree \
PROG= git-update-index git-diff-files git-init-db git-write-tree \
git-read-tree git-commit-tree git-cat-file git-fsck-cache \
diff a/git-fetch-script b/git-fetch-script
--- /dev/null
Expand Down

0 comments on commit 10455d2

Please sign in to comment.