commit: add repository argument to lookup_commit
[git/git.git] / builtin / fast-export.c
index 7d6b1d8..223499d 100644 (file)
@@ -963,7 +963,7 @@ static void import_marks(char *input_file)
                        /* only commits */
                        continue;
 
-               commit = lookup_commit(&oid);
+               commit = lookup_commit(the_repository, &oid);
                if (!commit)
                        die("not a commit? can't happen: %s", oid_to_hex(&oid));