aboutsummaryrefslogtreecommitdiff
path: root/diff-cache.c
diff options
context:
space:
mode:
authorBrad Roberts <braddr@puremagic.com>2005-05-14 19:04:25 -0700
committerPetr Baudis <xpasky@machine.sinus.cz>2005-05-15 12:37:39 +0200
commitdbbce55b3a1129fcc6c5141dd5b8053512286b83 (patch)
treee08545d53dffcc8d523d7e3ac9fbd81f7fb4d39f /diff-cache.c
parent5d728c8411a092f80171f787b5409d98978690c7 (diff)
downloadgit-dbbce55b3a1129fcc6c5141dd5b8053512286b83.tar.gz
git-dbbce55b3a1129fcc6c5141dd5b8053512286b83.tar.xz
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>
Diffstat (limited to 'diff-cache.c')
-rw-r--r--diff-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/diff-cache.c b/diff-cache.c
index afce9553f..eb3c2c183 100644
--- a/diff-cache.c
+++ b/diff-cache.c
@@ -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;
}