git: bb39d9c437b0 - main - devel/got: honor fetch_all_branches configuration again
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Oct 2023 13:23:04 UTC
The branch main has been updated by naddy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bb39d9c437b01867dee5bd49121ffbaeeb348822
commit bb39d9c437b01867dee5bd49121ffbaeeb348822
Author: Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2023-10-01 13:21:50 +0000
Commit: Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2023-10-01 13:21:50 +0000
devel/got: honor fetch_all_branches configuration again
Fix a regression in 0.93 where the fetch_all_branches configuration
setting from got.conf was dropped and always defaulted to "no".
---
devel/got/Makefile | 1 +
devel/got/files/patch-lib_repository.c | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/devel/got/Makefile b/devel/got/Makefile
index df3523c3f2bb..46c5d76e224a 100644
--- a/devel/got/Makefile
+++ b/devel/got/Makefile
@@ -1,5 +1,6 @@
PORTNAME= got
DISTVERSION= 0.93
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://gameoftrees.org/releases/
diff --git a/devel/got/files/patch-lib_repository.c b/devel/got/files/patch-lib_repository.c
new file mode 100644
index 000000000000..68b194262533
--- /dev/null
+++ b/devel/got/files/patch-lib_repository.c
@@ -0,0 +1,11 @@
+--- lib/repository.c.orig 2023-09-29 20:30:16 UTC
++++ lib/repository.c
+@@ -947,6 +947,8 @@ got_repo_remote_repo_dup(struct got_remote_repo **newp
+
+ new->mirror_references = repo->mirror_references;
+
++ new->fetch_all_branches = repo->fetch_all_branches;
++
+ new->nfetch_branches = repo->nfetch_branches;
+ if (repo->fetch_branches) {
+ new->fetch_branches = calloc(repo->nfetch_branches,