X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=notes-cache.h;h=56f8c98e2445f036b1c3897dce976f419372cb61;hb=f80fcd36751c85b11722f8c7cfd537c28956400e;hp=aeeee8409d4320644a1f618f5cd25b815be52f1c;hpb=a9f2d3f200d9d8b6e803c0818b1163226bbc3994;p=platform%2Fupstream%2Fgit.git diff --git a/notes-cache.h b/notes-cache.h index aeeee84..56f8c98 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