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
This commit is contained in:
@ -1038,7 +1038,7 @@ static void end_packfile(void)
|
||||
if (!new_p)
|
||||
die("core git rejected index %s", idx_name);
|
||||
all_packs[pack_id] = new_p;
|
||||
install_packed_git(new_p);
|
||||
install_packed_git(the_repository, new_p);
|
||||
free(idx_name);
|
||||
|
||||
/* Print the boundary */
|
||||
@ -3476,7 +3476,6 @@ int cmd_main(int argc, const char **argv)
|
||||
rc_free[i].next = &rc_free[i + 1];
|
||||
rc_free[cmd_save - 1].next = NULL;
|
||||
|
||||
prepare_packed_git();
|
||||
start_packfile();
|
||||
set_die_routine(die_nicely);
|
||||
set_checkpoint_signal();
|
||||
|
Reference in New Issue
Block a user