Merge branch 'nd/the-index'
More codepaths become aware of working with in-core repository instance other than the default "the_repository". * nd/the-index: (22 commits) rebase-interactive.c: remove the_repository references rerere.c: remove the_repository references pack-*.c: remove the_repository references pack-check.c: remove the_repository references notes-cache.c: remove the_repository references line-log.c: remove the_repository reference diff-lib.c: remove the_repository references delta-islands.c: remove the_repository references cache-tree.c: remove the_repository references bundle.c: remove the_repository references branch.c: remove the_repository reference bisect.c: remove the_repository reference blame.c: remove implicit dependency the_repository sequencer.c: remove implicit dependency on the_repository sequencer.c: remove implicit dependency on the_index transport.c: remove implicit dependency on the_index notes-merge.c: remove implicit dependency the_repository notes-merge.c: remove implicit dependency on the_index list-objects.c: reduce the_repository references list-objects-filter.c: remove implicit dependency on the_index ...
This commit is contained in:
@ -1970,7 +1970,7 @@ static int clean_index(const struct object_id *head, const struct object_id *rem
|
||||
if (merge_tree(remote_tree))
|
||||
return -1;
|
||||
|
||||
remove_branch_state();
|
||||
remove_branch_state(the_repository);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -1981,7 +1981,7 @@ static int clean_index(const struct object_id *head, const struct object_id *rem
|
||||
static void am_rerere_clear(void)
|
||||
{
|
||||
struct string_list merge_rr = STRING_LIST_INIT_DUP;
|
||||
rerere_clear(&merge_rr);
|
||||
rerere_clear(the_repository, &merge_rr);
|
||||
string_list_clear(&merge_rr, 1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user