mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
fix the regression of building remote url (#935)
This commit is contained in:
@@ -68,9 +68,8 @@ func ClonerUsingGitExec(repoSpec *RepoSpec) error {
|
||||
"trouble adding remote %s",
|
||||
repoSpec.CloneSpec())
|
||||
}
|
||||
|
||||
if repoSpec.ref == "" {
|
||||
return nil
|
||||
repoSpec.ref = "master"
|
||||
}
|
||||
cmd = exec.Command(
|
||||
gitProgram,
|
||||
|
||||
Reference in New Issue
Block a user