guix-commits
[Top][All Lists]
Advanced

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

01/05: pull: Don't prepend "origin/" to branch names.


From: guix-commits
Subject: 01/05: pull: Don't prepend "origin/" to branch names.
Date: Mon, 14 Jan 2019 17:43:55 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 60029204eebada88063c2d3e2727e255ded22159
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jan 14 17:20:28 2019 +0100

    pull: Don't prepend "origin/" to branch names.
    
    This is a followup to 37a6cdbf1b3503d3e60840a176318284b1f7ca25.
    
    * guix/scripts/pull.scm (%options): Don't prepend "origin/" to branch
    names.
---
 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 6d1914f..0339b14 100644
--- a/guix/scripts/pull.scm
+++ b/guix/scripts/pull.scm
@@ -125,8 +125,7 @@ Download and deploy the latest version of Guix.\n"))
                    (alist-cons 'ref `(commit . ,arg) result)))
          (option '("branch") #t #f
                  (lambda (opt name arg result)
-                   (alist-cons 'ref `(branch . ,(string-append "origin/" arg))
-                               result)))
+                   (alist-cons 'ref `(branch . ,arg) result)))
          (option '(#\p "profile") #t #f
                  (lambda (opt name arg result)
                    (alist-cons 'profile (canonicalize-profile arg)



reply via email to

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