diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-11-10 12:59:55 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-11-10 13:07:54 +0100 |
commit | 195f0d05c3f64e17e84b2683a7045a14ec578d61 (patch) | |
tree | b88f7383f4f7fc9b7b64ec44c267f8e1932bc7e2 | |
parent | 179b7ac66de85cc6475aa318835cd3a36535671b (diff) | |
download | gnu-guix-195f0d05c3f64e17e84b2683a7045a14ec578d61.tar gnu-guix-195f0d05c3f64e17e84b2683a7045a14ec578d61.tar.gz |
git: Work around wrong default argument of 'clone'.
Fixes <https://bugs.gnu.org/29238>.
Reported by Benjamin Andresen <benny@in-ulm.de>.
* guix/git.scm (clone*): Pass second argument to 'clone'.
-rw-r--r-- | guix/git.scm | 5 |
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))))) |