Thread (7 messages) flat view 7 messages, 3 authors, 2016-06-15

Re: [PATCH v2] index-pack: always zero-initialize object_entry list

From: Jeff King <hidden>
Date: 2016-06-15 22:56:28

Possibly related (same subject, not in this thread)

On Wed, Mar 20, 2013 at 03:12:07PM -0400, Eric Sunshine wrote:
On Tue, Mar 19, 2013 at 12:17 PM, Jeff King [off-list ref] wrote:
quoted
To ensure that all depths start at 0, that commit changed
calls to xmalloc the object_entry list into calls to
xcalloc.  However, it forgot that we grow the list with
xrealloc later. These extra entries are used when we add an
object from elsewhere pack to complete a thin pack. If we
s/elsewhere pack/pack/
I think it is supposed to be s/elsewhere pack/elsewhere/.

Thanks for noticing.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help