mirror of
https://github.com/harness/drone.git
synced 2025-05-21 19:39:59 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
443bf9d636
@ -97,7 +97,7 @@ func (r *Repo) Commands() []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cmds := []string{}
|
cmds := []string{}
|
||||||
cmds = append(cmds, fmt.Sprintf("git clone --branch=%s %s %s", branch, r.Path, r.Dir))
|
cmds = append(cmds, fmt.Sprintf("git clone --recursive --branch=%s %s %s", branch, r.Path, r.Dir))
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
// if a specific commit is provided then we'll
|
// if a specific commit is provided then we'll
|
||||||
|
Loading…
Reference in New Issue
Block a user