X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=notes-cache.c;h=c36a960bc32a9bfa0d5da83b1f7c8cb6a315b17d;hb=d041ffa55a69cb6cdc3b160dc181c7e59b3bd4bb;hp=4c8984ede1e218d3e0aaadb6d8c72bfcafddeee9;hpb=2f0db1d86bb89a30c6742b03c40b320c178b1097;p=git.git diff --git a/notes-cache.c b/notes-cache.c index 4c8984ede..c36a960bc 100644 --- a/notes-cache.c +++ b/notes-cache.c @@ -56,7 +56,7 @@ int notes_cache_write(struct notes_cache *c) if (write_notes_tree(&c->tree, tree_sha1)) return -1; - if (commit_tree(c->validity, tree_sha1, NULL, commit_sha1, NULL) < 0) + if (commit_tree(c->validity, 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)