summaryrefslogtreecommitdiffstats
path: root/object-store.h
diff options
context:
space:
mode:
Diffstat (limited to 'object-store.h')
-rw-r--r--object-store.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/object-store.h b/object-store.h
index 74b1b5872a..62a0c97f27 100644
--- a/object-store.h
+++ b/object-store.h
@@ -28,6 +28,13 @@ struct object_directory {
struct oidtree *loose_objects_cache;
/*
+ * This is a temporary object store created by the tmp_objdir
+ * facility. Disable ref updates since the objects in the store
+ * might be discarded on rollback.
+ */
+ int disable_ref_updates;
+
+ /*
* This object store is ephemeral, so there is no need to fsync.
*/
int will_destroy;