]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs/packed-backend.c
Merge branch 'vd/fsck-submodule-url-test'
[thirdparty/git.git] / refs / packed-backend.c
index b9fa097a29ca6ac21e29102235b58ee716ec04d4..a499a91c7e0ac94e45a7c28264647802522b65c4 100644 (file)
@@ -1,5 +1,4 @@
 #include "../git-compat-util.h"
-#include "../alloc.h"
 #include "../config.h"
 #include "../gettext.h"
 #include "../hash.h"
@@ -1246,6 +1245,7 @@ static const char PACKED_REFS_HEADER[] =
        "# pack-refs with: peeled fully-peeled sorted \n";
 
 static int packed_init_db(struct ref_store *ref_store UNUSED,
+                         int flags UNUSED,
                          struct strbuf *err UNUSED)
 {
        /* Nothing to do. */
@@ -1705,7 +1705,6 @@ static struct ref_iterator *packed_reflog_iterator_begin(struct ref_store *ref_s
 }
 
 struct ref_storage_be refs_be_packed = {
-       .next = NULL,
        .name = "packed",
        .init = packed_ref_store_create,
        .init_db = packed_init_db,