submodule: convert show_submodule_summary to use struct object_id *

Since we're going to be changing this function in a future patch, lets
go ahead and convert this to use object_id now.

Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jacob Keller
2016-08-31 16:27:23 -07:00
committed by Junio C Hamano
parent 99b43a61f2
commit 602a283afb
3 changed files with 10 additions and 10 deletions

2
diff.c
View File

@ -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;