author | Junio C Hamano <junkio@cox.net> | |
Mon, 2 Apr 2007 05:14:40 +0000 (22:14 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 5 Apr 2007 22:07:16 +0000 (15:07 -0700) | ||
commit | fd1c3bf0533c6cc7e44646d4e52d378d5b5a1631 | |
tree | d24a361e357c81331a3544c2a742bef56a382d62 | tree | snapshot |
parent | 7da3bf372cfcd25ea44164afb90c306836b62e23 | commit | diff |
Rename add_file_to_index() to add_file_to_cache()
This function was not called "add_file_to_cache()" only because
an ancient program, update-cache, used that name as an internal
function name that does something slightly different. Now that
is gone, we can take over the better name.
The plan is to name all functions that operate on the default
index xxx_cache(). Later patches create a variant of them that
take an explicit parameter xxx_index(), and then turn
xxx_cache() functions into macros that use "the_index".
Signed-off-by: Junio C Hamano <junkio@cox.net>
This function was not called "add_file_to_cache()" only because
an ancient program, update-cache, used that name as an internal
function name that does something slightly different. Now that
is gone, we can take over the better name.
The plan is to name all functions that operate on the default
index xxx_cache(). Later patches create a variant of them that
take an explicit parameter xxx_index(), and then turn
xxx_cache() functions into macros that use "the_index".
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-add.c | diff | blob | history | |
builtin-mv.c | diff | blob | history | |
cache.h | diff | blob | history | |
read-cache.c | diff | blob | history |