summaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-05-30 17:30:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-02 00:36:06 (GMT)
commitfb61e4d3abe2349eb0fabe0be8981626b4074fa7 (patch)
tree30ccde13cd2e1f14e1b5231024a2b57c30e3cd04 /log-tree.c
parent9ef7223058a44990dc4650ecb1209c97ceb636b3 (diff)
downloadgit-fb61e4d3abe2349eb0fabe0be8981626b4074fa7.zip
git-fb61e4d3abe2349eb0fabe0be8981626b4074fa7.tar.gz
git-fb61e4d3abe2349eb0fabe0be8981626b4074fa7.tar.bz2
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>
Diffstat (limited to 'log-tree.c')
-rw-r--r--log-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c
index a4ec11c..9c0c64a 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -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, &notebuf,
+ format_display_notes(&commit->object.oid, &notebuf,
get_log_output_encoding(), raw);
ctx.notes_message = notebuf.len
? strbuf_detach(&notebuf, NULL)