about summary refs log tree commit diff
path: root/third_party/cgit/ui-log.c
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-05-04T15·56+0200
committerclbot <clbot@tvl.fyi>2022-05-04T16·18+0000
commitfbbee5584b2fcc39c67b8c638cf991720f480235 (patch)
treea3f87f67831f0aecff80b862262fd07a0661c90e /third_party/cgit/ui-log.c
parent5fae8b08266a4fd7f24ed3eddc914e61a45cee9a (diff)
subtree(3p/cgit): update for git 2.36.0 support r/4004
Merge commit '51596ba1c25ff0dbba894153015203b4f1d3947b' into canon

Change-Id: Iaaf7a849d111aebc6bf85cec118439ba1d49f1e3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5521
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'third_party/cgit/ui-log.c')
-rw-r--r--third_party/cgit/ui-log.c2
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;