summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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?