aboutsummaryrefslogtreecommitdiffstats
path: root/ui-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-log.c b/ui-log.c
index 22f9ca1..29a99a3 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -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;