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
@ -655,7 +655,7 @@ void show_log(struct rev_info *opt)
|
||||
struct strbuf notebuf = STRBUF_INIT;
|
||||
|
||||
raw = (opt->commit_format == CMIT_FMT_USERFORMAT);
|
||||
format_display_notes(commit->object.oid.hash, ¬ebuf,
|
||||
format_display_notes(&commit->object.oid, ¬ebuf,
|
||||
get_log_output_encoding(), raw);
|
||||
ctx.notes_message = notebuf.len
|
||||
? strbuf_detach(¬ebuf, NULL)
|
||||
|
||||
Reference in New Issue
Block a user