pull: Don't prepend "origin/" to branch names.
This is a followup to 37a6cdbf1b
.
* guix/scripts/pull.scm (%options): Don't prepend "origin/" to branch
names.
This commit is contained in:
parent
21b41a79fe
commit
60029204ee
|
@ -125,8 +125,7 @@ Download and deploy the latest version of Guix.\n"))
|
||||||
(alist-cons 'ref `(commit . ,arg) result)))
|
(alist-cons 'ref `(commit . ,arg) result)))
|
||||||
(option '("branch") #t #f
|
(option '("branch") #t #f
|
||||||
(lambda (opt name arg result)
|
(lambda (opt name arg result)
|
||||||
(alist-cons 'ref `(branch . ,(string-append "origin/" arg))
|
(alist-cons 'ref `(branch . ,arg) result)))
|
||||||
result)))
|
|
||||||
(option '(#\p "profile") #t #f
|
(option '(#\p "profile") #t #f
|
||||||
(lambda (opt name arg result)
|
(lambda (opt name arg result)
|
||||||
(alist-cons 'profile (canonicalize-profile arg)
|
(alist-cons 'profile (canonicalize-profile arg)
|
||||||
|
|
Loading…
Reference in New Issue