diff options
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-log.c b/ui-log.c index 82476e0..cfa9192 100644 --- a/ui-log.c +++ b/ui-log.c | |||
@@ -163,7 +163,7 @@ static int show_commit(struct commit *commit, struct rev_info *revs) | |||
163 | "", &revs->diffopt); | 163 | "", &revs->diffopt); |
164 | diffcore_std(&revs->diffopt); | 164 | diffcore_std(&revs->diffopt); |
165 | 165 | ||
166 | found = !diff_queue_is_empty(); | 166 | found = !diff_queue_is_empty(&revs->diffopt); |
167 | saved_fmt = revs->diffopt.output_format; | 167 | saved_fmt = revs->diffopt.output_format; |
168 | revs->diffopt.output_format = DIFF_FORMAT_CALLBACK; | 168 | revs->diffopt.output_format = DIFF_FORMAT_CALLBACK; |
169 | revs->diffopt.format_callback = cgit_diff_tree_cb; | 169 | revs->diffopt.format_callback = cgit_diff_tree_cb; |