summaryrefslogtreecommitdiff
path: root/update-cache.c
diff options
context:
space:
mode:
authorAlexey Nezhdanov <snake@penza-gsm.ru>2005-05-19 11:17:16 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-19 17:52:00 (GMT)
commit667bb59b2d5b0a2e7fca5970d6f757790a6edd74 (patch)
tree099b568160ec8ad8cbae5c22b61abe69a82d6546 /update-cache.c
parent9669e17a2f79e8ef0bd5981f8178cada5e53d46b (diff)
downloadgit-667bb59b2d5b0a2e7fca5970d6f757790a6edd74.zip
git-667bb59b2d5b0a2e7fca5970d6f757790a6edd74.tar.gz
git-667bb59b2d5b0a2e7fca5970d6f757790a6edd74.tar.bz2
[PATCH] cleanup of in-code names
Fixes all in-code names that leaved during "big name change". Signed-off-by: Alexey Nezhdanov <snake@penza-gsm.ru> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'update-cache.c')
-rw-r--r--update-cache.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/update-cache.c b/update-cache.c
index e0ad09c..a956953 100644
--- a/update-cache.c
+++ b/update-cache.c
@@ -9,7 +9,7 @@
* Default to not allowing changes to the list of files. The
* tool doesn't actually care, but this makes it harder to add
* files to the revision control by mistake by doing something
- * like "update-cache *" and suddenly having all the object
+ * like "git-update-cache *" and suddenly having all the object
* files be revision controlled.
*/
static int allow_add = 0, allow_remove = 0, allow_replace = 0, not_new = 0;
@@ -158,7 +158,7 @@ static int compare_link(struct cache_entry *ce, unsigned long expected_size)
* file that hasn't been changed but where the stat entry is
* out of date.
*
- * For example, you'd want to do this after doing a "read-tree",
+ * For example, you'd want to do this after doing a "git-read-tree",
* to link up the stat cache details with the proper files.
*/
static struct cache_entry *refresh_entry(struct cache_entry *ce)
@@ -333,17 +333,17 @@ int main(int argc, char **argv)
}
if (!strcmp(path, "--cacheinfo")) {
if (i+3 >= argc)
- die("update-cache: --cacheinfo <mode> <sha1> <path>");
+ die("git-update-cache: --cacheinfo <mode> <sha1> <path>");
if (add_cacheinfo(argv[i+1], argv[i+2], argv[i+3]))
- die("update-cache: --cacheinfo cannot add %s", argv[i+3]);
+ die("git-update-cache: --cacheinfo cannot add %s", argv[i+3]);
i += 3;
continue;
}
if (!strcmp(path, "--force-remove")) {
if (argc <= i + 1)
- die("update-cache: --force-remove <path>");
+ die("git-update-cache: --force-remove <path>");
if (remove_file_from_cache(argv[i+1]))
- die("update-cache: --force-remove cannot remove %s", argv[i+1]);
+ die("git-update-cache: --force-remove cannot remove %s", argv[i+1]);
i++;
continue;
}