diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-04-11 06:09:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-11 06:09:55 +0200 |
commit | 3a1ec60c43b1cad73fed8040aed7117900e9fd9d (patch) | |
tree | 596ad53743761ff1ea09a80cf3f154aafa615f08 /builtin/receive-pack.c | |
parent | Merge branch 'sb/object-store' (diff) | |
parent | packfile: keep prepare_packed_git() private (diff) | |
download | git-3a1ec60c43b1cad73fed8040aed7117900e9fd9d.tar.xz git-3a1ec60c43b1cad73fed8040aed7117900e9fd9d.zip |
Merge branch 'sb/packfiles-in-repository'
Refactoring of the internal global data structure continues.
* sb/packfiles-in-repository:
packfile: keep prepare_packed_git() private
packfile: allow find_pack_entry to handle arbitrary repositories
packfile: add repository argument to find_pack_entry
packfile: allow reprepare_packed_git to handle arbitrary repositories
packfile: allow prepare_packed_git to handle arbitrary repositories
packfile: allow prepare_packed_git_one to handle arbitrary repositories
packfile: add repository argument to reprepare_packed_git
packfile: add repository argument to prepare_packed_git
packfile: add repository argument to prepare_packed_git_one
packfile: allow install_packed_git to handle arbitrary repositories
packfile: allow rearrange_packed_git to handle arbitrary repositories
packfile: allow prepare_packed_git_mru to handle arbitrary repositories
Diffstat (limited to 'builtin/receive-pack.c')
-rw-r--r-- | builtin/receive-pack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c index 19428ef97d..c4272fbc96 100644 --- a/builtin/receive-pack.c +++ b/builtin/receive-pack.c @@ -1,4 +1,5 @@ #include "builtin.h" +#include "repository.h" #include "config.h" #include "lockfile.h" #include "pack.h" @@ -1778,7 +1779,7 @@ static const char *unpack(int err_fd, struct shallow_info *si) status = finish_command(&child); if (status) return "index-pack abnormal exit"; - reprepare_packed_git(); + reprepare_packed_git(the_repository); } return NULL; } |