mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
git: Remove leftover pk call.
* guix/git.scm (update-cached-checkout): Remove leftover pk call.
This commit is contained in:
parent
c357474994
commit
e3e1a7ba08
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ (define canonical-ref
|
||||||
(with-libgit2
|
(with-libgit2
|
||||||
(let* ((cache-exists? (openable-repository? cache-directory))
|
(let* ((cache-exists? (openable-repository? cache-directory))
|
||||||
(repository (if cache-exists?
|
(repository (if cache-exists?
|
||||||
(repository-open (pk cache-directory))
|
(repository-open cache-directory)
|
||||||
(clone* url cache-directory))))
|
(clone* url cache-directory))))
|
||||||
;; Only fetch remote if it has not been cloned just before.
|
;; Only fetch remote if it has not been cloned just before.
|
||||||
(when (and cache-exists?
|
(when (and cache-exists?
|
||||||
|
|
Loading…
Reference in a new issue