summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2020-02-06 17:14:39 +0100
committerMathieu Othacehe <m.othacehe@gmail.com>2020-02-06 17:14:39 +0100
commite3e1a7ba08af2d58c47264c543617e499c239444 (patch)
treee8e18630734dbc87d30f4e10dba52b15803ae942
parentc35747499411d4efc7b437d63745a6dbc6910df4 (diff)
downloadguix-e3e1a7ba08af2d58c47264c543617e499c239444.tar.gz
git: Remove leftover pk call.
* guix/git.scm (update-cached-checkout): Remove leftover pk call.
-rw-r--r--guix/git.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/git.scm b/guix/git.scm
index 341a2b8dda..ca5dbfba1c 100644
--- a/guix/git.scm
+++ b/guix/git.scm
@@ -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?