diffcore.h: drop extern from function declaration
[gitweb.git] / negotiator / skipping.c
index 74d25e8825764871ff69e10ac18d814b2c63e17e..dffbc76c49ef791eaba0145094bfca31b46d0913 100644 (file)
@@ -74,7 +74,7 @@ static struct entry *rev_list_push(struct data *data, struct commit *commit, int
 static int clear_marks(const char *refname, const struct object_id *oid,
                       int flag, void *cb_data)
 {
-       struct object *o = deref_tag(parse_object(oid), refname, 0);
+       struct object *o = deref_tag(the_repository, parse_object(the_repository, oid), refname, 0);
 
        if (o && o->type == OBJ_COMMIT)
                clear_commit_marks((struct commit *)o,