notes: convert format_display_notes to struct object_id

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
brian m. carlson
2017-05-30 10:30:41 -07:00
committed by Junio C Hamano
parent 9ef7223058
commit fb61e4d3ab
4 changed files with 7 additions and 7 deletions

View 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);
}
/*