[PATCH v2 02/11] struct ref_transaction: add a place for backends to store data
From: Michael Haggerty <hidden>
Date: 2017-09-08 13:52:18
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Michael Haggerty <hidden>
Date: 2017-09-08 13:52:18
Subsystem:
the rest · Maintainer:
Linus Torvalds
`packed_ref_store` is going to want to store some transaction-wide data, so make a place for it. Signed-off-by: Michael Haggerty <redacted> --- refs/refs-internal.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index b02dc5a7e3..d7d344de73 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h@@ -242,6 +242,7 @@ struct ref_transaction { size_t alloc; size_t nr; enum ref_transaction_state state; + void *backend_data; }; /*
--
2.14.1