From d7b17512cf883b51f9a846f4ea1fd7a3027f6da7 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 15 Oct 2025 10:27:58 -0500 Subject: Use 'file://' protocol to force git to do shallow local clone. --- genenetwork/services/genenetwork.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm index f73a932..08197b5 100644 --- a/genenetwork/services/genenetwork.scm +++ b/genenetwork/services/genenetwork.scm @@ -672,7 +672,7 @@ a @code{} record." (delete-file-recursively current-repo-path)) (setenv "CURRENT_REPO_PATH" current-repo-path) (invoke #$(file-append git-minimal "/bin/git") - "clone" "--depth" "1" #$bare-repo)) + "clone" "--depth" "1" #$(string-append "file://" bare-repo))) (invoke #$(file-append gn-guile "/bin/gn-guile") (number->string #$gn-guile-port))))) -- cgit 1.4.1