submodule: convert show_submodule_summary to use struct object_id *
[gitweb.git] / diff.c
diff --git a/diff.c b/diff.c
index 1380bbe250ad333a68f267a2fa3e345233fd0e1b..a74e6e06dfb6dba3af802a1c747e23d2b7e0f8fd 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -2307,7 +2307,7 @@ static void builtin_diff(const char *name_a,
                const char *add = diff_get_color_opt(o, DIFF_FILE_NEW);
                show_submodule_summary(o->file, one->path ? one->path : two->path,
                                line_prefix,
-                               one->oid.hash, two->oid.hash,
+                               &one->oid, &two->oid,
                                two->dirty_submodule,
                                meta, del, add, reset);
                return;