OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c8df0
)
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
diff --git
a/refs/refs-internal.h
b/refs/refs-internal.h
index
b02dc5a
..
d7d344d
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;
};
/*