Merge branch 'rs/pack-objects-no-unnecessary-realloc' into maint
commit5327207e0fbc442b34e6371c1f28b5ed21aef8a0
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2014 18:48:42 +0000 (25 11:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2014 18:48:43 +0000 (25 11:48 -0700)
tree5d551bfd41926d1a2c718567c234c7f39b0e48c3
parent5fa38cc3a47c197a352dc52a1b373162c84b8697
parentfb79947487b628ec82bc0ad46a08629539a59091
Merge branch 'rs/pack-objects-no-unnecessary-realloc' into maint

"git pack-objects" unnecessarily copied the previous contents when
extending the hashtable, even though it will populate the table
from scratch anyway.

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