git: update to v2.24.0
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>
This commit is contained in:
@@ -14,7 +14,7 @@ htmldir = $(docdir)
|
|||||||
pdfdir = $(docdir)
|
pdfdir = $(docdir)
|
||||||
mandir = $(prefix)/share/man
|
mandir = $(prefix)/share/man
|
||||||
SHA1_HEADER = <openssl/sha.h>
|
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
|
GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.xz
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
COPYTREE = cp -r
|
COPYTREE = cp -r
|
||||||
|
|||||||
+1
-1
Submodule git updated: 5fa0f5238b...da72936f54
@@ -129,7 +129,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit)
|
|||||||
{
|
{
|
||||||
const int sha1hex_len = 40;
|
const int sha1hex_len = 40;
|
||||||
struct commitinfo *ret;
|
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;
|
const char *t;
|
||||||
|
|
||||||
ret = xcalloc(1, sizeof(struct commitinfo));
|
ret = xcalloc(1, sizeof(struct commitinfo));
|
||||||
|
|||||||
Reference in New Issue
Block a user