summaryrefslogtreecommitdiff
path: root/guix/scripts/pull.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-01-14 17:20:28 +0100
committerLudovic Courtès <ludo@gnu.org>2019-01-14 23:43:49 +0100
commit60029204eebada88063c2d3e2727e255ded22159 (patch)
tree77d53a7b2d8e1f1e03ac2b68ea16095e568fe0ba /guix/scripts/pull.scm
parent21b41a79fe62261efd39521ab28fdde78eb3d052 (diff)
downloadguix-patches-60029204eebada88063c2d3e2727e255ded22159.tar
guix-patches-60029204eebada88063c2d3e2727e255ded22159.tar.gz
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.
Diffstat (limited to 'guix/scripts/pull.scm')
-rw-r--r--guix/scripts/pull.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm
index 6d1914f7c2..0339b149fa 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)