pack: move static state variables
authorJonathan Tan <jonathantanmy@google.com>
Fri, 18 Aug 2017 22:20:17 +0000 (15:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Aug 2017 22:12:06 +0000 (15:12 -0700)
commit6d6a80e06893f391b4aaafa8829f1cb3a0ac23f6
tree3eb83242aeefbef11c436ee0437e088735646cc7
parent4f39cd821d1756f5f6d145f987576660136931ee
pack: move static state variables

sha1_file.c declares some static variables that store packfile-related
state. Move them to packfile.c.

They are temporarily made global, but subsequent commits will restore
their scope back to static.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
packfile.c
packfile.h
sha1_file.c