merge-base: use the new lookup_commit_reference() helper function
[gitweb.git] / update-cache.c
index 19d8f826a5d266c3ca0271c5b29c7fc504632d30..a6f9d6c178be67db9c681f536c650791479e6ef4 100644 (file)
@@ -191,7 +191,7 @@ static struct cache_entry *refresh_entry(struct cache_entry *ce)
        if (lstat(ce->name, &st) < 0)
                return ERR_PTR(-errno);
 
-       changed = cache_match_stat(ce, &st);
+       changed = ce_match_stat(ce, &st);
        if (!changed)
                return ce;