diff options
author | Christian Hesse | 2019-10-23 23:21:54 +0200 |
---|---|---|
committer | Christian Hesse | 2019-11-08 22:55:58 +0100 |
commit | bfabd4519c80f39eedba3dd5d522563899e364c9 (patch) | |
tree | 5dd97c88d323f7852cb278806ba80b9395519da2 /parsing.c | |
parent | 8fc0c81bbbed21ee30e8a48b2ab1066a029b7b32 (diff) | |
download | cgit-bfabd4519c80f39eedba3dd5d522563899e364c9.tar.gz cgit-bfabd4519c80f39eedba3dd5d522563899e364c9.tar.bz2 cgit-bfabd4519c80f39eedba3dd5d522563899e364c9.zip |
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>
Diffstat (limited to 'parsing.c')
-rw-r--r-- | parsing.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit) | |||
129 | { | 129 | { |
130 | const int sha1hex_len = 40; | 130 | const int sha1hex_len = 40; |
131 | struct commitinfo *ret; | 131 | struct commitinfo *ret; |
132 | const char *p = get_cached_commit_buffer(the_repository, commit, NULL); | 132 | const char *p = repo_get_commit_buffer(the_repository, commit, NULL); |
133 | const char *t; | 133 | const char *t; |
134 | 134 | ||
135 | ret = xcalloc(1, sizeof(struct commitinfo)); | 135 | ret = xcalloc(1, sizeof(struct commitinfo)); |