summaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-01-04 01:24:14 +0100
committerJunio C Hamano <gitster@pobox.com>2022-01-04 01:24:15 +0100
commit0dc90d954db852c6604796b8d817365f94e92a16 (patch)
tree9d4cf45af85370e4e7c89e74ff6ba74b39a28579 /object.c
parentMerge branch 'jc/unleak-log' (diff)
parenttmp-objdir: disable ref updates when replacing the primary odb (diff)
downloadgit-0dc90d954db852c6604796b8d817365f94e92a16.tar.xz
git-0dc90d954db852c6604796b8d817365f94e92a16.zip
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
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 4be82c1e7b..c37501fc12 100644
--- a/object.c
+++ b/object.c
@@ -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);