Browse Source

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.
gn-latest-20200428
Ludovic Courtès 3 years ago
parent
commit
60029204ee
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 3
      guix/scripts/pull.scm

3
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)

Loading…
Cancel
Save