diff options
Diffstat (limited to 'fast-import.c')
-rw-r--r-- | fast-import.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fast-import.c b/fast-import.c index b2f6d6d583..99f8f56e8c 100644 --- a/fast-import.c +++ b/fast-import.c @@ -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(); |