summaryrefslogtreecommitdiff
path: root/object-store.h
diff options
context:
space:
mode:
Diffstat (limited to 'object-store.h')
-rw-r--r--object-store.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/object-store.h b/object-store.h
index fef33f345f..485b819f00 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;
@@ -71,6 +73,7 @@ struct packed_git {
int pack_fd;
unsigned pack_local:1,
pack_keep:1,
+ pack_keep_in_core:1,
freshened:1,
do_not_close:1,
pack_promisor:1;
@@ -94,6 +97,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