diff options
Diffstat (limited to 'sha1_file.c')
-rw-r--r-- | sha1_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c index 038e22e559..e98eb8be05 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -2178,7 +2178,7 @@ void *unpack_entry(struct packed_git *p, off_t obj_offset, type -= 8; break; case OBJ_PV4_TREE: - data = pv4_get_tree(p, &w_curs, curpos, size); + data = pv4_get_tree(p, &w_curs, obj_offset, size); type -= 8; break; case OBJ_COMMIT: |