mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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'.
This commit is contained in:
parent
179b7ac66d
commit
195f0d05c3
1 changed files with 4 additions and 1 deletions
|
@ -55,7 +55,10 @@ (define (clone* url directory)
|
|||
(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)))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue