aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/git/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/git/git.go')
-rw-r--r--pkg/git/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/git/git.go b/pkg/git/git.go
index f67db363a..133f6ef9b 100644
--- a/pkg/git/git.go
+++ b/pkg/git/git.go
@@ -75,7 +75,7 @@ func clone(dir, repo, branch string) error {
if _, err := runSandboxed(dir, "git", "remote", "add", "origin", repo); err != nil {
return err
}
- if _, err := runSandboxed(dir, "git", "fetch", "origin", "master"); err != nil {
+ if _, err := runSandboxed(dir, "git", "fetch", "origin", branch); err != nil {
return err
}
return nil