Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Roberts <braddr@puremagic.com>2005-05-15 06:04:25 +0400
committerPetr Baudis <xpasky@machine.sinus.cz>2005-05-15 14:37:39 +0400
commitdbbce55b3a1129fcc6c5141dd5b8053512286b83 (patch)
treee08545d53dffcc8d523d7e3ac9fbd81f7fb4d39f /diff-cache.c
parent5d728c8411a092f80171f787b5409d98978690c7 (diff)
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 afce9553fe..eb3c2c183a 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;
}