projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
packaging: Add contrib installation
[platform/upstream/git.git]
/
notes-cache.h
diff --git
a/notes-cache.h
b/notes-cache.h
index
aeeee84
..
56f8c98
100644
(file)
--- a/
notes-cache.h
+++ b/
notes-cache.h
@@
-3,13
+3,15
@@
#include "notes.h"
#include "notes.h"
+struct repository;
+
struct notes_cache {
struct notes_tree tree;
char *validity;
};
struct notes_cache {
struct notes_tree tree;
char *validity;
};
-void notes_cache_init(struct
notes_cache *c, const char *name
,
- const char *validity);
+void notes_cache_init(struct
repository *r, struct notes_cache *c
,
+
const char *name,
const char *validity);
int notes_cache_write(struct notes_cache *c);
char *notes_cache_get(struct notes_cache *c, struct object_id *oid, size_t
int notes_cache_write(struct notes_cache *c);
char *notes_cache_get(struct notes_cache *c, struct object_id *oid, size_t