Skip to content

Commit

Permalink
Merge pull request #46 from dz0ny/patch-1
Browse files Browse the repository at this point in the history
Add: get git submodules in one step
  • Loading branch information
bradrydzewski committed Feb 11, 2014
2 parents 0c36b42 + c4a040c commit 7f458fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (r *Repo) Commands() []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 {
// if a specific commit is provided then we'll
Expand Down

0 comments on commit 7f458fc

Please sign in to comment.