#include "commit.h"
#include "tag.h"
#include "object-store.h"
+#include "packfile.h"
static struct object **obj_hash;
static int nr_objs, obj_hash_size;
struct raw_object_store *o = xmalloc(sizeof(*o));
memset(o, 0, sizeof(*o));
+ INIT_LIST_HEAD(&o->packed_git_mru);
return o;
}
free_alt_odbs(o);
o->alt_odb_tail = NULL;
+
+ INIT_LIST_HEAD(&o->packed_git_mru);
+ close_all_packs(o);
+ o->packed_git = NULL;
}