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.
This commit is contained in:
parent
112947d1c6
commit
59fe30a3a8
@ -175,8 +175,8 @@ corresponding to the top-level definition containing the staged changes."
|
|||||||
(let ((old-values (get-values old field))
|
(let ((old-values (get-values old field))
|
||||||
(new-values (get-values new field)))
|
(new-values (get-values new field)))
|
||||||
(or (equal? old-values new-values)
|
(or (equal? old-values new-values)
|
||||||
(let ((removed (lset-difference eq? old-values new-values))
|
(let ((removed (lset-difference equal? old-values new-values))
|
||||||
(added (lset-difference eq? new-values old-values)))
|
(added (lset-difference equal? new-values old-values)))
|
||||||
(format port
|
(format port
|
||||||
"[~a]: ~a~%" field
|
"[~a]: ~a~%" field
|
||||||
(match (list (map symbol->string removed)
|
(match (list (map symbol->string removed)
|
||||||
|
Loading…
Reference in New Issue
Block a user