git-authenticate: Don't hard-code "origin/" for keyring reference.
* guix/git-authenticate.scm (load-keyring-from-reference): Remove hard-coded "origin/". Use BRANCH-ALL instead of BRANCH-REMOTE.
This commit is contained in:
parent
41f443c90a
commit
512b9e2da2
1 changed files with 1 additions and 3 deletions
|
@ -161,9 +161,7 @@ (define (load-keyring-from-blob repository oid keyring)
|
|||
(define (load-keyring-from-reference repository reference)
|
||||
"Load the '.key' files from the tree at REFERENCE in REPOSITORY and return
|
||||
an OpenPGP keyring."
|
||||
(let* ((reference (branch-lookup repository
|
||||
(string-append "origin/" reference)
|
||||
BRANCH-REMOTE))
|
||||
(let* ((reference (branch-lookup repository reference BRANCH-ALL))
|
||||
(target (reference-target reference))
|
||||
(commit (commit-lookup repository target))
|
||||
(tree (commit-tree commit)))
|
||||
|
|
Loading…
Reference in a new issue