diff options
author | Brandon Williams <bmwill@google.com> | 2017-05-30 10:30:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-02 09:36:30 +0900 |
commit | 7b8dea0c7570a2028f204498c82c8ca7ec6950e3 (patch) | |
tree | c82e22cd716506a480e086aa444dc67897f9cc4e /log-tree.c | |
parent | 09fae19aa8db639d2384a98f8ebd2f9ec66f6e28 (diff) | |
download | git-7b8dea0c7570a2028f204498c82c8ca7ec6950e3.tar.gz |
tree-diff: convert diff_root_tree_sha1 to struct object_id
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'log-tree.c')
-rw-r--r-- | log-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c index 9c0c64a2d8..b40242534b 100644 --- a/log-tree.c +++ b/log-tree.c @@ -803,7 +803,7 @@ static int log_tree_diff(struct rev_info *opt, struct commit *commit, struct log parents = get_saved_parents(opt, commit); if (!parents) { if (opt->show_root_diff) { - diff_root_tree_sha1(oid->hash, "", &opt->diffopt); + diff_root_tree_oid(oid, "", &opt->diffopt); log_tree_diff_flush(opt); } return !opt->loginfo; |