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>
parent
a789dd5865
commit
5025a68c71
|
@ -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)))
|
||||
|
|
Reference in New Issue