]> git.ipfire.org Git - thirdparty/git.git/blobdiff - archive-zip.c
archive-*.c: use the right repository
[thirdparty/git.git] / archive-zip.c
index abc556e5a7506cd0fe8e1e66a83c3781bfc04104..107da5f97ed3e37b66b298511159223affde4060 100644 (file)
@@ -326,7 +326,7 @@ static int write_zip_entry(struct archiver_args *args,
                compressed_size = 0;
                buffer = NULL;
        } else if (S_ISREG(mode) || S_ISLNK(mode)) {
-               enum object_type type = oid_object_info(the_repository, oid,
+               enum object_type type = oid_object_info(args->repo, oid,
                                                        &size);
 
                method = 0;