notes: convert format_display_notes to struct object_id
[gitweb.git] / revision.c
index b02394530926ebe24233de5e6653e7127755675a..475d5b2dc111d18315e089798cbf85078dac96d6 100644 (file)
@@ -2908,7 +2908,7 @@ static int commit_match(struct commit *commit, struct rev_info *opt)
        if (opt->show_notes) {
                if (!buf.len)
                        strbuf_addstr(&buf, message);
-               format_display_notes(commit->object.oid.hash, &buf, encoding, 1);
+               format_display_notes(&commit->object.oid, &buf, encoding, 1);
        }
 
        /*