]> granicus.if.org Git - cgit/commitdiff
git: update to v2.36.0
authorChristian Hesse <mail@eworm.de>
Mon, 4 Apr 2022 19:00:33 +0000 (21:00 +0200)
committerChristian Hesse <mail@eworm.de>
Mon, 18 Apr 2022 20:15:36 +0000 (22:15 +0200)
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>
Makefile
git
ui-log.c

index de72176103ecebf083deadcf432805196706222c..2509d21775bd673994e2040e22b8258d3cf498cb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ htmldir = $(docdir)
 pdfdir = $(docdir)
 mandir = $(prefix)/share/man
 SHA1_HEADER = <openssl/sha.h>
-GIT_VER = 2.35.3
+GIT_VER = 2.36.0
 GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.xz
 INSTALL = install
 COPYTREE = cp -r
diff --git a/git b/git
index d516b2db0af2221bd6b13e7347abdcb5830b2829..6cd33dceed60949e2dbc32e3f0f5e67c4c882e1e 160000 (submodule)
--- a/git
+++ b/git
@@ -1 +1 @@
-Subproject commit d516b2db0af2221bd6b13e7347abdcb5830b2829
+Subproject commit 6cd33dceed60949e2dbc32e3f0f5e67c4c882e1e
index 20774bf82fa5ce3f5450c33943af158308a7c2ce..565929f3f046daaf8db1c89fc3d6928c23119ad0 100644 (file)
--- a/ui-log.c
+++ b/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;