git: Remove leftover pk call.

* guix/git.scm (update-cached-checkout): Remove leftover pk call.
This commit is contained in:
Mathieu Othacehe 2020-02-06 17:14:39 +01:00
parent c357474994
commit e3e1a7ba08
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -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?