diff options
| author | 2025-11-03 20:36:50 +0100 | |
|---|---|---|
| committer | 2025-11-17 21:39:40 +0100 | |
| commit | 1b79eecd9c5c71237ca8960319dc4d858895220d (patch) | |
| tree | 01225825e3ece032c7912a01d80de491e9917e51 | |
| parent | git: update to v2.51.2 (diff) | |
| download | cgit-ch/git-2-52.tar.xz cgit-ch/git-2-52.zip | |
git: update to v2.52.0ch/git-2-52
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>
| -rw-r--r-- | Makefile | 2 | ||||
| m--------- | git | 0 | ||||
| -rw-r--r-- | shared.c | 2 | ||||
| -rw-r--r-- | ui-clone.c | 4 |
4 files changed, 4 insertions, 4 deletions
@@ -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 -Subproject bb5c624209fcaebd60b9572b2cc8c61086e39b5 +Subproject 9a2fb147f2c61d0cab52c883e7e26f5b7948e3e @@ -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) { @@ -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') |
