git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
39c8df0
)
struct ref_transaction: add a place for backends to store data
author
Michael Haggerty
<redacted>
Fri, 8 Sep 2017 13:51:44 +0000
(15:51 +0200)
committer
Junio C Hamano
<redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
refs/refs-internal.h
patch
|
blob
|
history
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;
};
/*
git clone https://git.99rst.org/PROJECT