From 5025a68c71dc4ee0f25832ffeae296c97980e50e Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Thu, 17 Aug 2023 16:09:17 +0200 Subject: scripts: pull: Teach 'channels-list' to use 'tag' git references. * guix/scripts/pull.scm (channel-list): Add support for 'tag' references, to honor the various possible references types as defined in the documentation of the update-cached-checkout procedure. Signed-off-by: Maxim Cournoyer Modified-by: Maxim Cournoyer --- guix/scripts/pull.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'guix/scripts/pull.scm') diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm index 759c3a94a3..1904a6913a 100644 --- a/guix/scripts/pull.scm +++ b/guix/scripts/pull.scm @@ -786,6 +786,7 @@ (define (environment-variable) (let ((url (or url (channel-url c)))) (match ref ((or ('commit . commit) + ('tag . commit) ('tag-or-commit . commit)) (channel (inherit c) (url url) (commit commit) (branch #f))) -- cgit v1.2.3