mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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>
This commit is contained in:
committed by
Maxim Cournoyer
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
Block a user