struct ref_transaction: add a place for backends to store data
`packed_ref_store` is going to want to store some transaction-wide data, so make a place for it. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Michael Haggerty committed
Sep 8, 2017 at 15:51 UTC
3bf4f56134c39a0c404ddf1a38779d67649e1c14
1 file changed
+1
refs/refs-internal.h
+1
@@ -242,6 +242,7 @@ struct ref_transaction {
242
size_t alloc;
243
size_t nr;
244
enum ref_transaction_state state;
245
+ void *backend_data;
246
};
247
248
/*