-
Notifications
You must be signed in to change notification settings - Fork 256
Open
Description
GitGetter.update fails if repo contains submodule
package main
import (
"github.com/hashicorp/go-getter"
"log"
"os"
)
func main() {
repoURL := "[email protected]:mayraamaral/submodule-father.git" // repo contains submodule
destDir := "repo"
for i := 0; i < 2; i++ {
err := getter.GetAny(destDir, repoURL) // fails when i == 1
if err != nil {
log.Println(err)
}
}
}
Metadata
Metadata
Assignees
Labels
No labels