diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-11-10 06:49:06 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-12 06:50:06 +0100 |
commit | bd7ad45b64bf8b5a5256bd1eeb3907f8516244a8 (patch) | |
tree | cdd5fe9c0cf00859fc627d7c0f2bfa28885c8bf3 /notes-cache.h | |
parent | line-log.c: remove the_repository reference (diff) | |
download | git-bd7ad45b64bf8b5a5256bd1eeb3907f8516244a8.tar.xz git-bd7ad45b64bf8b5a5256bd1eeb3907f8516244a8.zip |
notes-cache.c: remove the_repository references
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-cache.h')
-rw-r--r-- | notes-cache.h | 6 |
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 |