range-diff: indent the diffs just like tbdiff
[gitweb.git] / builtin / unpack-objects.c
index 75d1d5ea0b8417b5842257b08d320868c6880764..716408e3a9db7499e338905b68444c7dc0a3149f 100644 (file)
@@ -254,7 +254,7 @@ static void write_object(unsigned nr, enum object_type type,
                added_object(nr, type, buf, size);
                free(buf);
 
-               blob = lookup_blob(&obj_list[nr].oid);
+               blob = lookup_blob(the_repository, &obj_list[nr].oid);
                if (blob)
                        blob->object.flags |= FLAG_WRITTEN;
                else