diff options
Diffstat (limited to 'archive-zip.c')
-rw-r--r-- | archive-zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archive-zip.c b/archive-zip.c index 18b951b732..6b20bce4d1 100644 --- a/archive-zip.c +++ b/archive-zip.c @@ -325,7 +325,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 = sha1_object_info(oid->hash, &size); + enum object_type type = oid_object_info(oid, &size); method = 0; attr2 = S_ISLNK(mode) ? ((mode | 0777) << 16) : |