mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 06:15:08 +00:00
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>
This commit is contained in:
2
cgit.c
2
cgit.c
@@ -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)
|
||||
|
Reference in New Issue
Block a user