From list at eworm.de Sat Sep 14 19:52:26 2024 From: list at eworm.de (Christian Hesse) Date: Sat, 14 Sep 2024 19:52:26 -0000 Subject: [PATCH 1/1] git: update to v2.46.1 Message-ID: <20240914195222.297106-1-list@eworm.de> From: Christian Hesse Update to git version v2.46.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 7f8a5cb..9e595b8 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ htmldir = $(docdir) pdfdir = $(docdir) mandir = $(prefix)/share/man SHA1_HEADER = -GIT_VER = 2.46.0 +GIT_VER = 2.46.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 39bf06a..a731929 160000 --- a/git +++ b/git @@ -1 +1 @@ -Subproject commit 39bf06adf96da25b87c9aa7d35a32ef3683eb4a4 +Subproject commit a731929aa8016750c09bccc67c68feaf1259ce90 -- 2.46.1 From list at eworm.de Tue Sep 24 05:50:41 2024 From: list at eworm.de (Christian Hesse) Date: Tue, 24 Sep 2024 05:50:41 -0000 Subject: [PATCH 1/1] git: update to v2.46.2 Message-ID: <20240924055034.12347-1-list@eworm.de> From: Christian Hesse Update to git version v2.46.2, 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 9e595b8..fe15c2c 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ htmldir = $(docdir) pdfdir = $(docdir) mandir = $(prefix)/share/man SHA1_HEADER = -GIT_VER = 2.46.1 +GIT_VER = 2.46.2 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 a731929..4f71522 160000 --- a/git +++ b/git @@ -1 +1 @@ -Subproject commit a731929aa8016750c09bccc67c68feaf1259ce90 +Subproject commit 4f71522dfb7fc53eff569023303980c66114b1bc -- 2.46.1 From list at eworm.de Thu Sep 26 20:18:00 2024 From: list at eworm.de (Christian Hesse) Date: Thu, 26 Sep 2024 20:18:00 -0000 Subject: [PATCH 1/1] RFC: git: update to v2.47.0-rc0 Message-ID: <20240926201755.35390-1-list@eworm.de> From: Christian Hesse Update to git version v2.47.0-rc0, this requires changes for these upstream commits: * e8207717f1623325fe1c95338fb03c1104ed5687 refs: add referent to each_ref_fn Signed-off-by: Christian Hesse --- Makefile | 4 ++-- cgit.c | 4 ++-- cgit.h | 4 ++-- git | 2 +- shared.c | 4 ++-- ui-clone.c | 4 ++-- ui-shared.c | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index fe15c2c..86e3805 100644 --- a/Makefile +++ b/Makefile @@ -14,8 +14,8 @@ htmldir = $(docdir) pdfdir = $(docdir) mandir = $(prefix)/share/man SHA1_HEADER = -GIT_VER = 2.46.2 -GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.xz +GIT_VER = 2.47.0.rc0 +GIT_URL = https://www.kernel.org/pub/software/scm/git/testing/git-$(GIT_VER).tar.xz INSTALL = install COPYTREE = cp -r MAN5_TXT = $(wildcard *.5.txt) diff --git a/cgit.c b/cgit.c index 2efa962..65c38c0 100644 --- a/cgit.c +++ b/cgit.c @@ -448,8 +448,8 @@ struct refmatch { int match; }; -static int find_current_ref(const char *refname, const struct object_id *oid, - int flags, void *cb_data) +static int find_current_ref(const char *refname, const char *referent UNUSED, + const struct object_id *oid, int flags, void *cb_data) { struct refmatch *info; diff --git a/cgit.h b/cgit.h index e0d286d..9146d9a 100644 --- a/cgit.h +++ b/cgit.h @@ -346,8 +346,8 @@ extern void strbuf_ensure_end(struct strbuf *sb, char c); extern void cgit_add_ref(struct reflist *list, struct refinfo *ref); extern void cgit_free_reflist_inner(struct reflist *list); -extern int cgit_refs_cb(const char *refname, const struct object_id *oid, - int flags, void *cb_data); +extern int cgit_refs_cb(const char *refname, const char *referent UNUSED, + const struct object_id *oid, int flags, void *cb_data); extern void cgit_free_commitinfo(struct commitinfo *info); extern void cgit_free_taginfo(struct taginfo *info); diff --git a/git b/git index 4f71522..3857aae 160000 --- a/git +++ b/git @@ -1 +1 @@ -Subproject commit 4f71522dfb7fc53eff569023303980c66114b1bc +Subproject commit 3857aae53f3633b7de63ad640737c657387ae0c6 diff --git a/shared.c b/shared.c index ae3f6c1..c1403b4 100644 --- a/shared.c +++ b/shared.c @@ -212,8 +212,8 @@ void cgit_free_reflist_inner(struct reflist *list) free(list->refs); } -int cgit_refs_cb(const char *refname, const struct object_id *oid, int flags, - void *cb_data) +int cgit_refs_cb(const char *refname, const char *referent UNUSED, + const struct object_id *oid, int flags, void *cb_data) { struct reflist *list = (struct reflist *)cb_data; struct refinfo *info = cgit_mk_refinfo(refname, oid); diff --git a/ui-clone.c b/ui-clone.c index df196a0..31989a5 100644 --- a/ui-clone.c +++ b/ui-clone.c @@ -16,8 +16,8 @@ #include "packfile.h" #include "object-store.h" -static int print_ref_info(const char *refname, const struct object_id *oid, - int flags, void *cb_data) +static int print_ref_info(const char *refname, const char *referent UNUSED, + const struct object_id *oid, int flags, void *cb_data) { struct object *obj; diff --git a/ui-shared.c b/ui-shared.c index 6fae72d..4250b89 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -936,8 +936,8 @@ void cgit_add_clone_urls(void (*fn)(const char *)) add_clone_urls(fn, ctx.cfg.clone_prefix, ctx.repo->url); } -static int print_branch_option(const char *refname, const struct object_id *oid, - int flags, void *cb_data) +static int print_branch_option(const char *refname, const char *referent UNUSED, + const struct object_id *oid, int flags, void *cb_data) { char *name = (char *)refname; html_option(name, name, ctx.qry.head); -- 2.46.2