summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.keller@gmail.com>2016-08-31 23:27:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-09-01 01:07:10 (GMT)
commit602a283afb225ea094f4582e02e94cfd7f5cabf0 (patch)
tree1d85b1ee06d04791e238c036c0e222c9081e18a1 /diff.c
parent99b43a61f2daf5fe183056e5bf2a75a8a81a28bf (diff)
downloadgit-602a283afb225ea094f4582e02e94cfd7f5cabf0.zip
git-602a283afb225ea094f4582e02e94cfd7f5cabf0.tar.gz
git-602a283afb225ea094f4582e02e94cfd7f5cabf0.tar.bz2
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>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 1380bbe..a74e6e0 100644
--- 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;