Skip to content

Commit 3bf4f56

Browse files
mhaggergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 39c8df0 commit 3bf4f56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

refs/refs-internal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ struct ref_transaction {
242242
size_t alloc;
243243
size_t nr;
244244
enum ref_transaction_state state;
245+
void *backend_data;
245246
};
246247

247248
/*

0 commit comments

Comments
 (0)