Merge branch 'ns/tmp-objdir' into en/remerge-diff

* ns/tmp-objdir:
  tmp-objdir: disable ref updates when replacing the primary odb
  tmp-objdir: new API for creating temporary writable databases
This commit is contained in:
Junio C Hamano
2021-12-21 15:29:45 -08:00
11 changed files with 183 additions and 15 deletions

View File

@ -513,7 +513,7 @@ struct raw_object_store *raw_object_store_new(void)
return o;
}
static void free_object_directory(struct object_directory *odb)
void free_object_directory(struct object_directory *odb)
{
free(odb->path);
odb_clear_loose_cache(odb);