aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/branch-updated-emails.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-data-service/branch-updated-emails.scm')
-rw-r--r--guix-data-service/branch-updated-emails.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix-data-service/branch-updated-emails.scm b/guix-data-service/branch-updated-emails.scm
index 8b5290b..aeb1570 100644
--- a/guix-data-service/branch-updated-emails.scm
+++ b/guix-data-service/branch-updated-emails.scm
@@ -59,9 +59,9 @@
conn
git-repository-id)))
(let ((excluded-branch?
- (member branch-name excluded-branches string=?))
+ (branch-in-list? excluded-branches branch-name))
(included-branch?
- (member branch-name included-branches string=?)))
+ (branch-in-list? included-branches branch-name)))
(when (and (not excluded-branch?)
(or (null? included-branches)
included-branch?))