Merge pull request #46 from dz0ny/patch-1

Add: get git submodules in one step
This commit is contained in:
Brad Rydzewski 2014-02-11 13:26:00 -08:00
commit 7f458fc93e

View file

@ -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