Make lock local to fetch_pack
authorMatt Kraai <matt.kraai@amo.abbott.com>
Tue, 18 Dec 2012 22:03:54 +0000 (14:03 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Dec 2012 03:00:00 +0000 (19:00 -0800)
commit9dacffc04009529b37c94de9a26420f640cf3f59
treec3d87066f661c3a1de055f951c9b24293cb0fcf0
parentb2d05e0653f29a75b57260c4d963d560ad65691b
Make lock local to fetch_pack

lock is only used by fetch_pack, so move it into that function.

Signed-off-by: Matt Kraai <matt.kraai@amo.abbott.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch-pack.c