summaryrefslogtreecommitdiff
path: root/refs
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-09-08 15:51:44 +0200
committerJunio C Hamano <gitster@pobox.com>2017-09-09 03:18:03 +0900
commit3bf4f56134c39a0c404ddf1a38779d67649e1c14 (patch)
tree5293acea6bed48f23c2cd3d518ee748a2c0299fe /refs
parent39c8df0cfe124565783bfc5eaaa3285c06b83fbf (diff)
downloadgit-3bf4f56134c39a0c404ddf1a38779d67649e1c14.tar.gz
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>
Diffstat (limited to 'refs')
-rw-r--r--refs/refs-internal.h1
1 files changed, 1 insertions, 0 deletions
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;
};
/*