diff options
| author | Frederick Muriuki Muriithi | 2025-10-15 10:27:58 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-10-15 10:30:15 -0500 |
| commit | 54d12ab17c08050f1ade8f7e37bb7cddf9520824 (patch) | |
| tree | 7a5589ad7b8055acee0cbf17baa860af96913b10 | |
| parent | 1cab434a36d0b3296b896a1fc1cc6b48e41787ea (diff) | |
| download | gn-machines-54d12ab17c08050f1ade8f7e37bb7cddf9520824.tar.gz | |
Use 'file://' protocol to force git to do shallow local clone.
| -rw-r--r-- | genenetwork/services/genenetwork.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm index 153e87d..993ed03 100644 --- a/genenetwork/services/genenetwork.scm +++ b/genenetwork/services/genenetwork.scm @@ -703,7 +703,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))))) |
