]> git.ipfire.org Git - thirdparty/git.git/blobdiff - object.c
rename "alternate_object_database" to "object_directory"
[thirdparty/git.git] / object.c
index e54160550c5a8e864f2e2bbcc58a29ff73045f8f..6af8e908bbbff1e36f4e6d9e62f7d077dafa61b7 100644 (file)
--- a/object.c
+++ b/object.c
@@ -482,17 +482,17 @@ struct raw_object_store *raw_object_store_new(void)
        return o;
 }
 
-static void free_alt_odb(struct alternate_object_database *alt)
+static void free_alt_odb(struct object_directory *odb)
 {
-       strbuf_release(&alt->scratch);
-       oid_array_clear(&alt->loose_objects_cache);
-       free(alt);
+       strbuf_release(&odb->scratch);
+       oid_array_clear(&odb->loose_objects_cache);
+       free(odb);
 }
 
 static void free_alt_odbs(struct raw_object_store *o)
 {
        while (o->alt_odb_list) {
-               struct alternate_object_database *next;
+               struct object_directory *next;
 
                next = o->alt_odb_list->next;
                free_alt_odb(o->alt_odb_list);