[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/89: etc: committer: Use EQUAL? instead of EQ? for differences.
From: |
guix-commits |
Subject: |
44/89: etc: committer: Use EQUAL? instead of EQ? for differences. |
Date: |
Mon, 5 Oct 2020 18:34:55 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 59fe30a3a860212ede0cd3c97e58a5f6bca8b65b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Oct 5 22:22:11 2020 +0200
etc: committer: Use EQUAL? instead of EQ? for differences.
* etc/committer.scm.in (commit-message): Use EQUAL? instead of EQ? to
compute
differences because not all inputs may be symbols; some could be
expressions.
---
etc/committer.scm.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/committer.scm.in b/etc/committer.scm.in
index 2f24783..ebe6b96 100755
--- a/etc/committer.scm.in
+++ b/etc/committer.scm.in
@@ -175,8 +175,8 @@ corresponding to the top-level definition containing the
staged changes."
(let ((old-values (get-values old field))
(new-values (get-values new field)))
(or (equal? old-values new-values)
- (let ((removed (lset-difference eq? old-values new-values))
- (added (lset-difference eq? new-values old-values)))
+ (let ((removed (lset-difference equal? old-values
new-values))
+ (added (lset-difference equal? new-values
old-values)))
(format port
"[~a]: ~a~%" field
(match (list (map symbol->string removed)
- 15/89: gnu: r-vcd: Update to 1.4-8., (continued)
- 15/89: gnu: r-vcd: Update to 1.4-8., guix-commits, 2020/10/05
- 20/89: gnu: r-statnet-common: Update to 4.4.1., guix-commits, 2020/10/05
- 24/89: gnu: r-bibtex: Update to 0.4.2.3., guix-commits, 2020/10/05
- 35/89: gnu: r-npsurv: Update to 0.5-0., guix-commits, 2020/10/05
- 40/89: gnu: r-fields: Update to 11.5., guix-commits, 2020/10/05
- 53/89: gnu: r-parameters: Update to 0.8.6., guix-commits, 2020/10/05
- 57/89: gnu: r-diagram: Update to 1.6.5., guix-commits, 2020/10/05
- 60/89: gnu: r-regsem: Update to 1.6.2., guix-commits, 2020/10/05
- 59/89: gnu: r-stm: Update to 1.3.6., guix-commits, 2020/10/05
- 58/89: gnu: r-quanteda: Update to 2.1.2., guix-commits, 2020/10/05
- 44/89: etc: committer: Use EQUAL? instead of EQ? for differences.,
guix-commits <=
- 64/89: gnu: r-binman: Update to 0.1.2., guix-commits, 2020/10/05
- 63/89: gnu: r-rxnat: Update to 1.0.14., guix-commits, 2020/10/05
- 66/89: gnu: r-cpp11: Update to 0.2.2., guix-commits, 2020/10/05
- 55/89: gnu: r-lhs: Update to 1.1.1., guix-commits, 2020/10/05
- 74/89: gnu: r-knitr: Update to 1.30., guix-commits, 2020/10/05
- 78/89: gnu: r-openssl: Update to 1.4.3., guix-commits, 2020/10/05
- 83/89: gnu: r-rsqlite: Update to 2.2.1., guix-commits, 2020/10/05
- 75/89: gnu: r-coda: Update to 0.19-4., guix-commits, 2020/10/05
- 86/89: gnu: r-fpc: Update to 2.2-8., guix-commits, 2020/10/05
- 87/89: gnu: r-quantreg: Update to 5.73., guix-commits, 2020/10/05