aboutsummaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-12-21 15:29:45 -0800
committerJunio C Hamano <gitster@pobox.com>2021-12-21 15:29:45 -0800
commit504683162642c0db86c844ea37cad339f928ea9c (patch)
tree8f4e299d182bb887caf3c07a8f8fce23b3128011 /object.c
parentThe fourth batch (diff)
parenttmp-objdir: disable ref updates when replacing the primary odb (diff)
downloadgit-504683162642c0db86c844ea37cad339f928ea9c.tar.gz
git-504683162642c0db86c844ea37cad339f928ea9c.zip
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
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);