diff options
| author | Frederick Muriuki Muriithi | 2025-10-15 10:27:58 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-10-27 08:52:45 -0500 |
| commit | d7b17512cf883b51f9a846f4ea1fd7a3027f6da7 (patch) | |
| tree | b68db2577efce47cf18244c5fbc6b81646c1aa46 | |
| parent | ee993295592e6ea5a6bdac9b5fad05f9f1c2a560 (diff) | |
| download | gn-machines-d7b17512cf883b51f9a846f4ea1fd7a3027f6da7.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 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))))) |
