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:

committed by
Junio C Hamano

parent
9ef7223058
commit
fb61e4d3ab
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user