sha1_file: convert sha1_object_info* to object_id
[gitweb.git] / builtin / fast-export.c
index 9b049e9d081d16da0601f7e1bc112f6c3aad7a07..d75a3a45d3d5dbd41f9a94c040700e6678e8cf9c 100644 (file)
@@ -947,7 +947,7 @@ static void import_marks(char *input_file)
                if (last_idnum < mark)
                        last_idnum = mark;
 
-               type = sha1_object_info(oid.hash, NULL);
+               type = oid_object_info(&oid, NULL);
                if (type < 0)
                        die("object not found: %s", oid_to_hex(&oid));