mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 15:00:04 +00:00
Merge pull request #2535 from libgit2/cmn/unpack-offset
pack: return the correct final offset
This commit is contained in:
commit
397bc8d897
@ -744,7 +744,7 @@ cleanup:
|
||||
git__free(obj->data);
|
||||
|
||||
if (elem)
|
||||
*obj_offset = elem->offset;
|
||||
*obj_offset = curpos;
|
||||
|
||||
git_array_clear(chain);
|
||||
return error;
|
||||
|
Loading…
Reference in New Issue
Block a user