Commit 397bc8d8 by Vicent Marti

Merge pull request #2535 from libgit2/cmn/unpack-offset

pack: return the correct final offset
parents 844d226c b3d3459f
......@@ -744,7 +744,7 @@ cleanup:
git__free(obj->data);
if (elem)
*obj_offset = elem->offset;
*obj_offset = curpos;
git_array_clear(chain);
return error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment