mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05: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:
parent
a789dd5865
commit
5025a68c71
1 changed files with 1 additions and 0 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue