aboutsummaryrefslogtreecommitdiffstats
path: root/notes-cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-12-28 10:41:41 -0800
committerJunio C Hamano <gitster@pobox.com>2019-01-15 15:38:29 -0800
commit0aa9d8aa6ce429f0fa04e1ca819ed766c211e242 (patch)
treea1300182f22bf55f45b5769673cabc6535666dd7 /notes-cache.h
parentMerge branch 'sb/more-repo-in-api' into md/list-objects-filter-by-depth (diff)
parentrebase-interactive.c: remove the_repository references (diff)
downloadgit-0aa9d8aa6ce429f0fa04e1ca819ed766c211e242.tar.gz
git-0aa9d8aa6ce429f0fa04e1ca819ed766c211e242.zip
Merge branch 'nd/the-index' into md/list-objects-filter-by-depth
Diffstat (limited to 'notes-cache.h')
-rw-r--r--notes-cache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/notes-cache.h b/notes-cache.h
index aeeee8409d..56f8c98e24 100644
--- a/notes-cache.h
+++ b/notes-cache.h
@@ -3,13 +3,15 @@
#include "notes.h"
+struct repository;
+
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