Merge branch 'rs/pack-objects-no-unnecessary-realloc'
authorJunio C Hamano <gitster@pobox.com>
Mon, 16 Jun 2014 19:18:42 +0000 (12:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jun 2014 19:18:42 +0000 (12:18 -0700)
commit57a2eee9250fadb72cb6bace963fd1ed683c83b8
tree40bdce641bbd3106fec034acadf16555af534fb1
parent3009afd54ecbac1b7cd556085cd2d32f3d6772d3
parentfb79947487b628ec82bc0ad46a08629539a59091
Merge branch 'rs/pack-objects-no-unnecessary-realloc'

Avoid unnecessary copy of previous contents when extending the
hashtable used in pack-objects.

* rs/pack-objects-no-unnecessary-realloc:
  pack-objects: use free()+xcalloc() instead of xrealloc()+memset()