Merge branch 'ps/the-repository'
More code paths have a repository passed through the callchain, instead of assuming the primary the_repository object. * ps/the-repository: match-trees: stop using `the_repository` graph: stop using `the_repository` add-interactive: stop using `the_repository` tmp-objdir: stop using `the_repository` resolve-undo: stop using `the_repository` credential: stop using `the_repository` mailinfo: stop using `the_repository` diagnose: stop using `the_repository` server-info: stop using `the_repository` send-pack: stop using `the_repository` serve: stop using `the_repository` trace: stop using `the_repository` pager: stop using `the_repository` progress: stop using `the_repository`
This commit is contained in:
@@ -333,7 +333,7 @@ void prepare_loose_object_bulk_checkin(void)
|
||||
if (!odb_transaction_nesting || bulk_fsync_objdir)
|
||||
return;
|
||||
|
||||
bulk_fsync_objdir = tmp_objdir_create("bulk-fsync");
|
||||
bulk_fsync_objdir = tmp_objdir_create(the_repository, "bulk-fsync");
|
||||
if (bulk_fsync_objdir)
|
||||
tmp_objdir_replace_primary_odb(bulk_fsync_objdir, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user