receive-pack: release pack files before garbage-collecting
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 13 Jan 2016 17:20:26 +0000 (18:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Jan 2016 19:36:28 +0000 (11:36 -0800)
commitd5621020c1e0edfa998cb5c5e80cdf47f36ffb1a
treebc77244a50913d9e1a747c6ebe301e73267ebec7
parentdcacb1b2ee42d3cc20e4720134f18ab5ba267f3a
receive-pack: release pack files before garbage-collecting

Before auto-gc'ing, we need to make sure that the pack files are
released in case they need to be repacked and garbage-collected.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c