git: Remove leftover pk call.
authorMathieu Othacehe <m.othacehe@gmail.com>
Thu, 6 Feb 2020 16:14:39 +0000 (17:14 +0100)
committerMathieu Othacehe <m.othacehe@gmail.com>
Thu, 6 Feb 2020 16:14:39 +0000 (17:14 +0100)
* guix/git.scm (update-cached-checkout): Remove leftover pk call.

guix/git.scm

index 341a2b8..ca5dbfb 100644 (file)
@@ -286,7 +286,7 @@ When RECURSIVE? is true, check out submodules as well, if any."
   (with-libgit2
    (let* ((cache-exists? (openable-repository? cache-directory))
           (repository    (if cache-exists?
-                             (repository-open (pk cache-directory))
+                             (repository-open cache-directory)
                              (clone* url cache-directory))))
      ;; Only fetch remote if it has not been cloned just before.
      (when (and cache-exists?