diff options
| author | Jacob Keller <jacob.keller@gmail.com> | 2016-08-31 16:27:23 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-08-31 18:07:10 -0700 |
| commit | 602a283afb225ea094f4582e02e94cfd7f5cabf0 (patch) | |
| tree | 1d85b1ee06d04791e238c036c0e222c9081e18a1 /diff.c | |
| parent | allow do_submodule_path to work even if submodule isn't checked out (diff) | |
| download | git-602a283afb225ea094f4582e02e94cfd7f5cabf0.tar.gz git-602a283afb225ea094f4582e02e94cfd7f5cabf0.zip | |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
