about summary refs log tree commit diff
path: root/ui-log.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2022-04-18 22:17:39 +0200
committerJune McEnroe <june@causal.agency>2022-05-13 15:42:03 -0400
commit3374b0e7a6a4a221e7778f6c8294beef987bcd27 (patch)
tree244a879bb51762e5c979099b1bf585a6e2de8e0a /ui-log.c
parentUse release_commit_memory() (diff)
downloadcgit-pink-3374b0e7a6a4a221e7778f6c8294beef987bcd27.tar.gz
cgit-pink-3374b0e7a6a4a221e7778f6c8294beef987bcd27.zip
git: update to v2.36.0
Update to git version v2.36.0, this requires changes for these
upstream commits:

* 95433eeed9eac439eb21eb30105354b15e71302e
  diff: add ability to insert additional headers for paths

Signed-off-by: Christian Hesse <mail@eworm.de>
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 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)
 		      "", &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;