summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-05-30 10:30:41 -0700
committerJunio C Hamano <gitster@pobox.com>2017-06-02 09:36:06 +0900
commitfb61e4d3abe2349eb0fabe0be8981626b4074fa7 (patch)
tree30ccde13cd2e1f14e1b5231024a2b57c30e3cd04 /revision.c
parent9ef7223058a44990dc4650ecb1209c97ceb636b3 (diff)
downloadgit-fb61e4d3abe2349eb0fabe0be8981626b4074fa7.tar.gz
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 'revision.c')
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index b023945309..475d5b2dc1 100644
--- a/revision.c
+++ b/revision.c
@@ -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);
}
/*