Merge branch 'jh/clone-packed-refs'
[gitweb.git] / sha1_file.c
index b2db549d8a61e5ffc282f7259a5187b9d1fc5706..e79b2c1145e800e88c0f6e79338d2befa2443494 100644 (file)
@@ -1714,7 +1714,7 @@ const unsigned char *nth_packed_object_sha1(struct packed_git *p,
        }
 }
 
-static off_t nth_packed_object_offset(const struct packed_git *p, uint32_t n)
+off_t nth_packed_object_offset(const struct packed_git *p, uint32_t n)
 {
        const unsigned char *index = p->index_data;
        index += 4 * 256;