summaryrefslogtreecommitdiff
path: root/object-store.h
diff options
context:
space:
mode:
Diffstat (limited to 'object-store.h')
-rw-r--r--object-store.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/object-store.h b/object-store.h
index fef33f345f..d683112fd7 100644
--- a/object-store.h
+++ b/object-store.h
@@ -1,6 +1,8 @@
#ifndef OBJECT_STORE_H
#define OBJECT_STORE_H
+#include "oidmap.h"
+
struct alternate_object_database {
struct alternate_object_database *next;
@@ -69,8 +71,10 @@ struct packed_git {
int index_version;
time_t mtime;
int pack_fd;
+ int index; /* for builtin/pack-objects.c */
unsigned pack_local:1,
pack_keep:1,
+ pack_keep_in_core:1,
freshened:1,
do_not_close:1,
pack_promisor:1;
@@ -94,6 +98,12 @@ struct raw_object_store {
struct alternate_object_database **alt_odb_tail;
/*
+ * Objects that should be substituted by other objects
+ * (see git-replace(1)).
+ */
+ struct oidmap *replace_map;
+
+ /*
* private data
*
* should only be accessed directly by packfile.c