mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-10 10:36:16 +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);
|
git__free(obj->data);
|
||||||
|
|
||||||
if (elem)
|
if (elem)
|
||||||
*obj_offset = elem->offset;
|
*obj_offset = curpos;
|
||||||
|
|
||||||
git_array_clear(chain);
|
git_array_clear(chain);
|
||||||
return error;
|
return error;
|
||||||
|
Loading…
Reference in New Issue
Block a user