Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
struct ref_transaction: add a place for backends to store data
author
Michael Haggerty
<mhagger@alum.mit.edu>
Fri, 8 Sep 2017 13:51:44 +0000
(15:51 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 8 Sep 2017 18:18:03 +0000
(
03:18
+0900)
`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>
refs/refs-internal.h
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
39c8df0
)
diff --git
a/refs/refs-internal.h
b/refs/refs-internal.h
index b02dc5a7e3500cae1784199a82b37be020004df1..d7d344de73e6f85fed1e8460bce246a894eab6da 100644
(file)
--- 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;
};
/*