about summary refs log tree commit diff
path: root/genenetwork/services
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-10-15 10:27:58 -0500
committerFrederick Muriuki Muriithi2025-10-27 08:52:45 -0500
commitd7b17512cf883b51f9a846f4ea1fd7a3027f6da7 (patch)
treeb68db2577efce47cf18244c5fbc6b81646c1aa46 /genenetwork/services
parentee993295592e6ea5a6bdac9b5fad05f9f1c2a560 (diff)
downloadgn-machines-d7b17512cf883b51f9a846f4ea1fd7a3027f6da7.tar.gz
Use 'file://' protocol to force git to do shallow local clone.
Diffstat (limited to 'genenetwork/services')
-rw-r--r--genenetwork/services/genenetwork.scm2
1 files changed, 1 insertions, 1 deletions
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{<genenetwork-configuration>} 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)))))