Convert lookup_commit* to struct object_id
[gitweb.git] / builtin / fast-export.c
index e0220630d00cf2c069ce1a43e9511df57685acd2..b4521cb6274422ca79ada685c845a6b330a07024 100644 (file)
@@ -938,7 +938,7 @@ static void import_marks(char *input_file)
                        /* only commits */
                        continue;
 
-               commit = lookup_commit(oid.hash);
+               commit = lookup_commit(&oid);
                if (!commit)
                        die("not a commit? can't happen: %s", oid_to_hex(&oid));