pack-objects: compute local/ignore_pack_keep early
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 51c366c7c823f5fe35d8e89566f3d6aad0c2c447..40671d160a0a31a475d7f317966798d5dea248b7 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -1371,6 +1371,13 @@ extern struct packed_git {
        char pack_name[FLEX_ARRAY]; /* more */
 } *packed_git;
 
+/*
+ * A most-recently-used ordered version of the packed_git list, which can
+ * be iterated instead of packed_git (and marked via mru_mark).
+ */
+struct mru;
+extern struct mru *packed_git_mru;
+
 struct pack_entry {
        off_t offset;
        unsigned char sha1[20];