guix-patches
[Top][All Lists]
Advanced

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

[bug#65352] [PATCH 2/2] scripts: pull: Remove unused reference pair.


From: Simon Tournier
Subject: [bug#65352] [PATCH 2/2] scripts: pull: Remove unused reference pair.
Date: Thu, 17 Aug 2023 16:09:17 +0200

* guix/scripts/pull.scm (channel-list): Remove commit pair reference
specification.
---
 guix/scripts/pull.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm
index 9b78d4b5ca..616926ee0b 100644
--- a/guix/scripts/pull.scm
+++ b/guix/scripts/pull.scm
@@ -774,8 +774,7 @@ (define (channel-list opts)
                (if (guix-channel? c)
                    (let ((url (or url (channel-url c))))
                      (match ref
-                       ((or ('commit . commit)
-                            ('tag-or-commit . commit))
+                       (('tag-or-commit . commit)
                         (channel (inherit c)
                                  (url url) (commit commit) (branch #f)))
                        (('branch . branch)
-- 
2.38.1






reply via email to

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