aboutsummaryrefslogtreecommitdiff
path: root/guix-qa-frontpage/git-repository.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-05-22 16:35:16 +0100
committerChristopher Baines <mail@cbaines.net>2023-05-22 16:35:16 +0100
commite8ae78a8e961084752192382a06f39a6af1a13d0 (patch)
treedc2ea653179cc5e2e0c326830e61fa6f16dd09bf /guix-qa-frontpage/git-repository.scm
parente3537c56e417d7a4dca5f77a062c066fe2d2391c (diff)
downloadqa-frontpage-e8ae78a8e961084752192382a06f39a6af1a13d0.tar
qa-frontpage-e8ae78a8e961084752192382a06f39a6af1a13d0.tar.gz
Fix the guix.git repository not fetching all origin branches
Diffstat (limited to 'guix-qa-frontpage/git-repository.scm')
-rw-r--r--guix-qa-frontpage/git-repository.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/guix-qa-frontpage/git-repository.scm b/guix-qa-frontpage/git-repository.scm
index 2aab8fd..9b733f7 100644
--- a/guix-qa-frontpage/git-repository.scm
+++ b/guix-qa-frontpage/git-repository.scm
@@ -34,13 +34,13 @@
(define (ensure-repository-exists!)
(monitor
(unless (file-exists? (%git-repository-location))
- (invoke "git" "clone"
- "--bare"
- "https://git.savannah.gnu.org/git/guix.git"
+ (invoke "git" "init" "--bare"
(%git-repository-location))
(guix.git-excursion
(lambda ()
+ (invoke "git" "remote" "add" "origin"
+ "https://git.savannah.gnu.org/git/guix.git")
(invoke "git" "remote" "add" "patches"
"git@git.guix-patches.cbaines.net:guix-patches")