diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-08-17 16:09:17 +0200 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-08-29 15:24:49 -0400 |
commit | 5025a68c71dc4ee0f25832ffeae296c97980e50e (patch) | |
tree | 91c0be52b3268c36122d4400639411a304b9ea63 /guix | |
parent | a789dd58656d5f7f1b8edf790d77753fc71670af (diff) |
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>
Diffstat (limited to 'guix')
-rw-r--r-- | guix/scripts/pull.scm | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ 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))) |