List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 1/1] git: update to v2.52.0
@ 2025-11-17 20:44 Christian Hesse
  2025-11-18 13:00 ` Christian Hesse
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Hesse @ 2025-11-17 20:44 UTC (permalink / raw)
  To: cgit; +Cc: Christian Hesse

From: Christian Hesse <mail@eworm.de>

Update to git version v2.52.0, this requires changes for these
upstream commits:

* 9f6dfe43c8a55b833ae16486bcafe29b543461f9
  string-list: align string_list_split() with its _in_place() counterpart

* 78237ea53d6546aeab7adb2c7547a1177311ccde
  packfile: split up responsibilities of `reprepare_packed_git()`

* 751808b2a18acba76b824aed4d8b7442bd7f5fca
  packfile: refactor `get_packed_git()` to work on packfile store

Signed-off-by: Christian Hesse <mail@eworm.de>
---
 Makefile   | 2 +-
 git        | 2 +-
 shared.c   | 2 +-
 ui-clone.c | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 08b4c90..c376d2f 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ htmldir = $(docdir)
 pdfdir = $(docdir)
 mandir = $(prefix)/share/man
 SHA1_HEADER = <openssl/sha.h>
-GIT_VER = 2.51.2
+GIT_VER = 2.52.0
 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 bb5c624..9a2fb14 160000
--- a/git
+++ b/git
@@ -1 +1 @@
-Subproject commit bb5c624209fcaebd60b9572b2cc8c61086e39b57
+Subproject commit 9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed
diff --git a/shared.c b/shared.c
index 3838364..401cf86 100644
--- a/shared.c
+++ b/shared.c
@@ -395,7 +395,7 @@ int cgit_parse_snapshots_mask(const char *str)
 	if (strcmp(str, "all") == 0)
 		return INT_MAX;
 
-	string_list_split(&tokens, str, ' ', -1);
+	string_list_split(&tokens, str, " ", -1);
 	string_list_remove_empty_items(&tokens, 0);
 
 	for_each_string_list_item(item, &tokens) {
diff --git a/ui-clone.c b/ui-clone.c
index 0fadf24..9445454 100644
--- a/ui-clone.c
+++ b/ui-clone.c
@@ -40,8 +40,8 @@ static void print_pack_info(void)
 	ctx.page.mimetype = "text/plain";
 	ctx.page.filename = "objects/info/packs";
 	cgit_print_http_headers();
-	reprepare_packed_git(the_repository);
-	for (pack = get_packed_git(the_repository); pack; pack = pack->next) {
+	odb_reprepare(the_repository->objects);
+	for (pack = packfile_store_get_packs(the_repository->objects->packfiles); pack; pack = pack->next) {
 		if (pack->pack_local) {
 			offset = strrchr(pack->pack_name, '/');
 			if (offset && offset[1] != '\0')

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] git: update to v2.52.0
  2025-11-17 20:44 [PATCH 1/1] git: update to v2.52.0 Christian Hesse
@ 2025-11-18 13:00 ` Christian Hesse
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Hesse @ 2025-11-18 13:00 UTC (permalink / raw)
  To: cgit; +Cc: Christian Hesse

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

Christian Hesse <list@eworm.de> on Mon, 2025/11/17 21:44:
> Update to git version v2.52.0, this requires changes for these
> upstream commits:

Another ping on this... Any chance to have pending changes committed to
master? Git updates would be really great, other changes would be appreciated
as well. Thanks!
-- 
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);}

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-18 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17 20:44 [PATCH 1/1] git: update to v2.52.0 Christian Hesse
2025-11-18 13:00 ` Christian Hesse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).