diff options
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -153,8 +153,8 @@ static int show_commit(struct commit *commit, struct rev_info *revs) | |||
153 | rem_lines = 0; | 153 | rem_lines = 0; |
154 | 154 | ||
155 | revs->diffopt.flags.recursive = 1; | 155 | revs->diffopt.flags.recursive = 1; |
156 | diff_tree_oid(&parent->maybe_tree->object.oid, | 156 | diff_tree_oid(get_commit_tree_oid(parent), |
157 | &commit->maybe_tree->object.oid, | 157 | get_commit_tree_oid(commit), |
158 | "", &revs->diffopt); | 158 | "", &revs->diffopt); |
159 | diffcore_std(&revs->diffopt); | 159 | diffcore_std(&revs->diffopt); |
160 | 160 | ||