Rename some more cache-related functions

same_name -> ce_same_name()
remove_entry_at() -> remove_cache_entry_at()

Signed-off-by: Brad Roberts <braddr@puremagic.com>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
This commit is contained in:
Brad Roberts
2005-05-14 19:04:25 -07:00
committed by Petr Baudis
parent 5d728c8411
commit dbbce55b3a
3 changed files with 11 additions and 11 deletions

View File

@ -94,7 +94,7 @@ static int diff_cache(struct cache_entry **ac, int entries)
{
while (entries) {
struct cache_entry *ce = *ac;
int same = (entries > 1) && same_name(ce, ac[1]);
int same = (entries > 1) && ce_same_name(ce, ac[1]);
switch (ce_stage(ce)) {
case 0:
@ -143,7 +143,7 @@ static int diff_cache(struct cache_entry **ac, int entries)
do {
ac++;
entries--;
} while (entries && same_name(ce, ac[0]));
} while (entries && ce_same_name(ce, ac[0]));
}
return 0;
}