diff options
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,7 @@ static int show_commit(struct commit *commit, struct rev_info *revs) | |||
159 | "", &revs->diffopt); | 159 | "", &revs->diffopt); |
160 | diffcore_std(&revs->diffopt); | 160 | diffcore_std(&revs->diffopt); |
161 | 161 | ||
162 | found = !diff_queue_is_empty(); | 162 | found = !diff_queue_is_empty(&revs->diffopt); |
163 | saved_fmt = revs->diffopt.output_format; | 163 | saved_fmt = revs->diffopt.output_format; |
164 | revs->diffopt.output_format = DIFF_FORMAT_CALLBACK; | 164 | revs->diffopt.output_format = DIFF_FORMAT_CALLBACK; |
165 | revs->diffopt.format_callback = cgit_diff_tree_cb; | 165 | revs->diffopt.format_callback = cgit_diff_tree_cb; |