summaryrefslogtreecommitdiff
path: root/guix/git.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/git.scm')
-rw-r--r--guix/git.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/git.scm b/guix/git.scm
index e73f4b9855..ad4fc30c4b 100644
--- a/guix/git.scm
+++ b/guix/git.scm
@@ -55,7 +55,10 @@ make sure no empty directory is left behind."
(with-throw-handler #t
(lambda ()
(mkdir-p directory)
- (clone url directory))
+
+ ;; Note: Explicitly pass options to work around the invalid default
+ ;; value in Guile-Git: <https://bugs.gnu.org/29238>.
+ (clone url directory (clone-init-options)))
(lambda _
(false-if-exception (rmdir directory)))))