Thread (15 messages) 15 messages, 2 authors, 2017-09-10
STALE3188d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[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

`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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help