me
/
guix
Archived
1
0
Fork 0

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 <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Simon Tournier 2023-08-17 16:09:17 +02:00 committed by Maxim Cournoyer
parent a789dd5865
commit 5025a68c71
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 0 deletions

View File

@ -786,6 +786,7 @@ Use '~/.config/guix/channels.scm' instead."))
(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)))