diff options
author | Christian Hesse <mail@eworm.de> | 2024-04-19 22:39:20 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-04-29 21:13:53 +0200 |
commit | dbadd856ba0537110338cfe58256b152d01388c0 (patch) | |
tree | 3d95e482d7372e8571446d6b286ad12fe4197fc7 /ui-shared.c | |
parent | 8905003cba637e5b18069e625cd4f4c05ac30251 (diff) | |
download | cgit-dbadd856ba0537110338cfe58256b152d01388c0.tar.gz cgit-dbadd856ba0537110338cfe58256b152d01388c0.tar.xz |
git: update to v2.45.0
Update to git version v2.45.0, this requires changes for these
upstream commits:
* 9720d23e8caf4adee44b3a32803a9bb0480118bd
date: make DATE_MODE thread-safe
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-shared.c')
-rw-r--r-- | ui-shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c index eef2aa8..d5b5b20 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -662,12 +662,12 @@ void cgit_submodule_link(const char *class, char *path, const char *rev) path[len - 1] = tail; } -const struct date_mode *cgit_date_mode(enum date_mode_type type) +const struct date_mode cgit_date_mode(enum date_mode_type type) { static struct date_mode mode; mode.type = type; mode.local = ctx.cfg.local_time; - return &mode; + return mode; } static void print_rel_date(time_t t, int tz, double value, |