range-diff: indent the diffs just like tbdiff
[gitweb.git] / builtin / fast-export.c
index 03a2e4b79e6a4937d2679a9fe79c5a307605783e..223499d7ca4616553c6a7029f6534634f2fa93a5 100644 (file)
@@ -236,7 +236,7 @@ static void export_blob(const struct object_id *oid)
 
        if (anonymize) {
                buf = anonymize_blob(&size);
-               object = (struct object *)lookup_blob(oid);
+               object = (struct object *)lookup_blob(the_repository, oid);
                eaten = 0;
        } else {
                buf = read_object_file(oid, &type, &size);
@@ -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));