]> git.cameronkatri.com Git - cgit.git/commitdiff
git: update to v2.24.0
authorChristian Hesse <mail@eworm.de>
Wed, 23 Oct 2019 21:21:54 +0000 (23:21 +0200)
committerChristian Hesse <mail@eworm.de>
Fri, 8 Nov 2019 21:55:58 +0000 (22:55 +0100)
Update to git version v2.24.0.

Never use get_cached_commit_buffer() directly, use repo_get_commit_buffer()
instead. The latter calls the former anyway. This fixes segmentation fault
when commit-graph is enabled and get_cached_commit_buffer() does not return
the expected result.

Signed-off-by: Christian Hesse <mail@eworm.de>
Makefile
git
parsing.c

index 96ad7cd8783b411ed3eceb459f68613dffb2bfa0..8a29dd96746ad509704ee014f0722331345f58f0 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.23.0
+GIT_VER = 2.24.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 5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9..da72936f544fec5a335e66432610e4cef4430991 160000 (submodule)
--- a/git
+++ b/git
@@ -1 +1 @@
-Subproject commit 5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9
+Subproject commit da72936f544fec5a335e66432610e4cef4430991
index 7b3980e6b1d0dca661183ddfcb45ab491354ce2d..93b4767ee57f2c7d66a01a0daf718d366d204b1a 100644 (file)
--- a/parsing.c
+++ b/parsing.c
@@ -129,7 +129,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit)
 {
        const int sha1hex_len = 40;
        struct commitinfo *ret;
-       const char *p = get_cached_commit_buffer(the_repository, commit, NULL);
+       const char *p = repo_get_commit_buffer(the_repository, commit, NULL);
        const char *t;
 
        ret = xcalloc(1, sizeof(struct commitinfo));