From 56e3cbddb6586d02f886e9d0f27feadb17d657b0 Mon Sep 17 00:00:00 2001 From: Attila Lendvai Date: Mon, 30 Sep 2024 10:00:42 +0200 Subject: committer: Fix for inputs that are lists by using object->string. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- etc/committer.scm.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/committer.scm.in b/etc/committer.scm.in index c49935da60..9b128c8f1e 100755 --- a/etc/committer.scm.in +++ b/etc/committer.scm.in @@ -301,8 +301,9 @@ corresponding to the top-level definition containing the staged changes." (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))) -- cgit 1.4.1