summaryrefslogtreecommitdiff
path: root/builtin/receive-pack.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2017-08-18 15:20:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-23 15:12:06 -0700
commit3836d88ae575cf2321fb17296f748c0bb35ba268 (patch)
tree5f1e224972bc8c3456862e387cd13977fb1ae205 /builtin/receive-pack.c
parentpack: move release_pack_memory() (diff)
downloadtgif-3836d88ae575cf2321fb17296f748c0bb35ba268.tar.xz
pack: move pack-closing functions
The function close_pack_fd() 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>
Diffstat (limited to 'builtin/receive-pack.c')
-rw-r--r--builtin/receive-pack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c
index 14b6e09b42..52c63ebfdc 100644
--- a/builtin/receive-pack.c
+++ b/builtin/receive-pack.c
@@ -23,6 +23,7 @@
#include "fsck.h"
#include "tmp-objdir.h"
#include "oidset.h"
+#include "packfile.h"
static const char * const receive_pack_usage[] = {
N_("git receive-pack <git-dir>"),