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:
committed by
Junio C Hamano
parent
99b43a61f2
commit
602a283afb
2
diff.c
2
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;
|
||||
|
||||
Reference in New Issue
Block a user