summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-10-05 22:22:11 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-10-06 00:34:59 +0200
commit59fe30a3a860212ede0cd3c97e58a5f6bca8b65b (patch)
treecd3238b17b877148465a5d0aa9ba9e4fc8785e22 /etc
parent112947d1c66ef2487a0eca7ce2d3a5114d97ac77 (diff)
downloadguix-59fe30a3a860212ede0cd3c97e58a5f6bca8b65b.tar.gz
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.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/committer.scm.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/committer.scm.in b/etc/committer.scm.in
index 2f247835f3..ebe6b96bcc 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)