diff options
Diffstat (limited to 'third_party/cgit/ui-log.c')
-rw-r--r-- | third_party/cgit/ui-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/cgit/ui-log.c b/third_party/cgit/ui-log.c index 20774bf82fa5..565929f3f046 100644 --- a/third_party/cgit/ui-log.c +++ b/third_party/cgit/ui-log.c @@ -159,7 +159,7 @@ static int show_commit(struct commit *commit, struct rev_info *revs) "", &revs->diffopt); diffcore_std(&revs->diffopt); - found = !diff_queue_is_empty(); + found = !diff_queue_is_empty(&revs->diffopt); saved_fmt = revs->diffopt.output_format; revs->diffopt.output_format = DIFF_FORMAT_CALLBACK; revs->diffopt.format_callback = cgit_diff_tree_cb; |