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:
Ludovic Courtès 2019-01-14 17:20:28 +01:00
parent 21b41a79fe
commit 60029204ee
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -125,8 +125,7 @@ (define %options
(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)