unpack_object_header(): make it public
[gitweb.git] / sha1_file.c
index 1d6f93d5d323818753c81b790dc48469f21ef8a5..a28683aaf0b3be2308caf89674a59d4d6ad9ac31 100644 (file)
@@ -1523,10 +1523,10 @@ static int packed_delta_info(struct packed_git *p,
        return type;
 }
 
-static int unpack_object_header(struct packed_git *p,
-                               struct pack_window **w_curs,
-                               off_t *curpos,
-                               unsigned long *sizep)
+int unpack_object_header(struct packed_git *p,
+                        struct pack_window **w_curs,
+                        off_t *curpos,
+                        unsigned long *sizep)
 {
        unsigned char *base;
        unsigned int left;