diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2017-08-19 01:20:21 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-24 01:12:06 +0300 |
commit | 3836d88ae575cf2321fb17296f748c0bb35ba268 (patch) | |
tree | 5f1e224972bc8c3456862e387cd13977fb1ae205 /builtin/receive-pack.c | |
parent | f0e17e86e1b1030b2719f3d6e9d4124c9b5bc480 (diff) |
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.c | 1 |
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>"), |