From list at eworm.de Tue Jul 8 17:49:00 2025 From: list at eworm.de (Christian Hesse) Date: Tue, 8 Jul 2025 19:49:00 +0200 Subject: [PATCH 1/1] git: update to v2.50.1 Message-ID: <20250708174900.3041-1-list@eworm.de> From: Christian Hesse Update to git version v2.50.1, no additional changes required. Signed-off-by: Christian Hesse --- Makefile | 2 +- git | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 546f8a6..a97d9d4 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ htmldir = $(docdir) pdfdir = $(docdir) mandir = $(prefix)/share/man SHA1_HEADER = -GIT_VER = 2.50.0 +GIT_VER = 2.50.1 GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.xz INSTALL = install COPYTREE = cp -r diff --git a/git b/git index 16bd9f2..efa4fe4 160000 --- a/git +++ b/git @@ -1 +1 @@ -Subproject commit 16bd9f20a403117f2e0d9bcda6c6e621d3763e77 +Subproject commit efa4fe4cf653819d788a90be6b2ec1871dd859e5 From list at eworm.de Tue Jul 8 18:10:55 2025 From: list at eworm.de (Christian Hesse) Date: Tue, 8 Jul 2025 20:10:55 +0200 Subject: [PATCH 1/1] git: update to v2.50.1 In-Reply-To: <20250708174900.3041-1-list@eworm.de> References: <20250708174900.3041-1-list@eworm.de> Message-ID: <20250708201055.6565d3f4@leda.eworm.net> Christian Hesse on Tue, 2025/07/08 19:49: > From: Christian Hesse > > Update to git version v2.50.1, no additional changes required. Ups, the subproject commit id is bad... Please ignore. -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);} -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: From list at eworm.de Tue Jul 8 18:13:28 2025 From: list at eworm.de (Christian Hesse) Date: Tue, 8 Jul 2025 20:13:28 +0200 Subject: [PATCH v2 1/1] git: update to v2.50.1 Message-ID: <20250708181328.20756-1-list@eworm.de> From: Christian Hesse Update to git version v2.50.1, no additional changes required. Signed-off-by: Christian Hesse --- Makefile | 2 +- git | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 546f8a6..a97d9d4 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ htmldir = $(docdir) pdfdir = $(docdir) mandir = $(prefix)/share/man SHA1_HEADER = -GIT_VER = 2.50.0 +GIT_VER = 2.50.1 GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.xz INSTALL = install COPYTREE = cp -r diff --git a/git b/git index 16bd9f2..d82adb6 160000 --- a/git +++ b/git @@ -1 +1 @@ -Subproject commit 16bd9f20a403117f2e0d9bcda6c6e621d3763e77 +Subproject commit d82adb61ba2fd11d8f2587fca1b6bd7925ce4044 From nabijaczleweli at nabijaczleweli.xyz Tue Jul 29 19:33:54 2025 From: nabijaczleweli at nabijaczleweli.xyz (=?utf-8?B?0L3QsNCx?=) Date: Tue, 29 Jul 2025 21:33:54 +0200 Subject: [PATCH] ui-shared: don't keep unused copy of cgit_date_mode() in .data Message-ID: Also, const on the return type is meaningless Fixes: dbadd85 ("git: update to v2.45.0") --- ui-shared.c | 4 ++-- ui-shared.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-shared.c b/ui-shared.c index 6fae72d..4ea1b40 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -664,9 +664,9 @@ 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) +struct date_mode cgit_date_mode(enum date_mode_type type) { - static struct date_mode mode; + struct date_mode mode = {}; mode.type = type; mode.local = ctx.cfg.local_time; return mode; diff --git a/ui-shared.h b/ui-shared.h index f12fa99..8eb961e 100644 --- a/ui-shared.h +++ b/ui-shared.h @@ -65,7 +65,7 @@ __attribute__((format (printf,1,2))) extern void cgit_print_error(const char *fmt, ...); __attribute__((format (printf,1,0))) extern void cgit_vprint_error(const char *fmt, va_list ap); -extern const struct date_mode cgit_date_mode(enum date_mode_type type); +extern struct date_mode cgit_date_mode(enum date_mode_type type); extern void cgit_print_age(time_t t, int tz, time_t max_relative); extern void cgit_print_http_headers(void); extern void cgit_redirect(const char *url, bool permanent); -- 2.39.5 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: