From 195f0d05c3f64e17e84b2683a7045a14ec578d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 10 Nov 2017 12:59:55 +0100 Subject: git: Work around wrong default argument of 'clone'. Fixes . Reported by Benjamin Andresen . * guix/git.scm (clone*): Pass second argument to 'clone'. --- guix/git.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: . + (clone url directory (clone-init-options))) (lambda _ (false-if-exception (rmdir directory))))) -- cgit v1.2.3