sha1_file: make packed_object_info public
[gitweb.git] / sha1_file.c
index 090cedb8eb8eb245b1dced597e8c40801d1757d1..66edb5efcff1800daf70dca71baf86ee6fa96c41 100644 (file)
@@ -1970,8 +1970,8 @@ static enum object_type packed_to_object_type(struct packed_git *p,
        goto out;
 }
 
-static int packed_object_info(struct packed_git *p, off_t obj_offset,
-                             struct object_info *oi)
+int packed_object_info(struct packed_git *p, off_t obj_offset,
+                      struct object_info *oi)
 {
        struct pack_window *w_curs = NULL;
        unsigned long size;