X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=notes-cache.c;h=eabe4a0d9bf44050dba43cbd821642cdfd3fb40b;hb=b8939b2b3abaa99c18bf57251cd2828b89ac38c5;hp=bea013eeae70f360e12af01345058b1b217848c4;hpb=247f9d23da8cfd255533433ad2aa07d172afac0b;p=git.git diff --git a/notes-cache.c b/notes-cache.c index bea013eea..eabe4a0d9 100644 --- a/notes-cache.c +++ b/notes-cache.c @@ -59,7 +59,7 @@ int notes_cache_write(struct notes_cache *c) return -1; strbuf_attach(&msg, c->validity, strlen(c->validity), strlen(c->validity) + 1); - if (commit_tree(&msg, tree_sha1, NULL, commit_sha1, NULL) < 0) + if (commit_tree(&msg, tree_sha1, NULL, commit_sha1, NULL, NULL) < 0) return -1; if (update_ref("update notes cache", c->tree.ref, commit_sha1, NULL, 0, QUIET_ON_ERR) < 0)