committer: Fix for inputs that are lists by using object->string.

* etc/committer.scm.in (change-commit-message): Use object->string to deal
with more complex dependency specifications.

Change-Id: Ieee39709fd3eb26368df400a9228d77aa97a9d9d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Attila Lendvai 2024-09-30 10:00:42 +02:00 committed by Ludovic Courtès
parent b59632da27
commit 56e3cbddb6
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -301,8 +301,9 @@ (define version
(format port
"[~a]: ~a~%" field
(break-string
(match (list (map symbol->string removed)
(map symbol->string added))
;; A dependency can be a list of (pkg output).
(match (list (map object->string removed)
(map object->string added))
((() added)
(format #f "Add ~a."
(listify added)))