refs: use same lock_file object for both ref-packing functions
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 22 Apr 2013 19:52:34 +0000 (21:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 May 2013 22:33:11 +0000 (15:33 -0700)
commitd9470330379f5899dd117b7c720e67d278fed9e2
tree0f6a72f45346fb8e4daf30bc1f01274985789f5c
parent3b4ae6d5023095114692d1e2e1a213611fec9314
refs: use same lock_file object for both ref-packing functions

Use a single struct lock_file for both pack_refs() and
repack_without_ref().

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c