diff options
author | Christian Hesse <mail@eworm.de> | 2021-11-03 17:32:17 +0300 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-11-16 00:53:04 +0300 |
commit | b8f2b675df61e3a4ff4db7073fe7142fc07e8b7a (patch) | |
tree | a3ec88fc35dc1e2ff7d87b1baed53c815a79d2d6 /cgit.c | |
parent | 45eff406554f3ff31bdf7d54daae1da5635db72e (diff) |
git: update to v2.34.0
Update to git version v2.34.0, this requires changes for these
upstream commits:
* abf897bacd2d36b9dbd07c70b4a2f97a084704ee
string-list.[ch]: remove string_list_init() compatibility function
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -428,7 +428,7 @@ static void prepare_context(void) ctx.page.modified = time(NULL); ctx.page.expires = ctx.page.modified; ctx.page.etag = NULL; - string_list_init(&ctx.cfg.mimetypes, 1); + string_list_init_dup(&ctx.cfg.mimetypes); if (ctx.env.script_name) ctx.cfg.script_name = xstrdup(ctx.env.script_name); if (ctx.env.query_string) |