Merge pull request #1320 from caarlos0/recurse
feat: recurse submodules
This commit is contained in:
commit
1231c77c14
|
|
@ -53,6 +53,7 @@ func (g *Git) UnpackTarFromBuildContext() (string, error) {
|
||||||
URL: getGitPullMethod() + "://" + parts[0],
|
URL: getGitPullMethod() + "://" + parts[0],
|
||||||
Auth: getGitAuth(),
|
Auth: getGitAuth(),
|
||||||
Progress: os.Stdout,
|
Progress: os.Stdout,
|
||||||
|
RecurseSubmodules: git.DefaultSubmoduleRecursionDepth,
|
||||||
}
|
}
|
||||||
if len(parts) > 1 {
|
if len(parts) > 1 {
|
||||||
options.ReferenceName = plumbing.ReferenceName(parts[1])
|
options.ReferenceName = plumbing.ReferenceName(parts[1])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue