Merge branch 'ns/tmp-objdir'

New interface into the tmp-objdir API to help in-core use of the
quarantine feature.

* 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
2022-01-03 16:24:14 -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);