guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: scripts: pull: Teach 'channels-list' to use 'tag' git references.


From: guix-commits
Subject: 02/02: scripts: pull: Teach 'channels-list' to use 'tag' git references.
Date: Tue, 29 Aug 2023 15:28:05 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 5025a68c71dc4ee0f25832ffeae296c97980e50e
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Thu Aug 17 16:09:17 2023 +0200

    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>
---
 guix/scripts/pull.scm | 1 +
 1 file changed, 1 insertion(+)

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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]