aboutsummaryrefslogtreecommitdiffstats
path: root/notes-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'notes-cache.c')
-rw-r--r--notes-cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/notes-cache.c b/notes-cache.c
index 3846609136..e5e9092d36 100644
--- a/notes-cache.c
+++ b/notes-cache.c
@@ -23,7 +23,8 @@ static int notes_cache_match_validity(struct repository *r,
return 0;
memset(&pretty_ctx, 0, sizeof(pretty_ctx));
- format_commit_message(commit, "%s", &msg, &pretty_ctx);
+ repo_format_commit_message(the_repository, commit, "%s", &msg,
+ &pretty_ctx);
strbuf_trim(&msg);
ret = !strcmp(msg.buf, validity);