pack: move use_pack()

The function open_packed_git() needs to be temporarily made global. Its
scope will be restored to static in a subsequent commit.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jonathan Tan
2017-08-18 15:20:22 -07:00
committed by Junio C Hamano
parent 3836d88ae5
commit 84f80ad5e1
5 changed files with 298 additions and 306 deletions

View File

@@ -3,6 +3,7 @@
*/
#include "cache.h"
#include "streaming.h"
#include "packfile.h"
enum input_source {
stream_error = -1,