aboutsummaryrefslogtreecommitdiffstats
path: root/submodule.go
diff options
context:
space:
mode:
Diffstat (limited to 'submodule.go')
-rw-r--r--submodule.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/submodule.go b/submodule.go
index 32f730b..ea099f0 100644
--- a/submodule.go
+++ b/submodule.go
@@ -1,6 +1,10 @@
package git
-import "srcd.works/go-git.v4/plumbing"
+import (
+ "fmt"
+
+ "srcd.works/go-git.v4/plumbing"
+)
type Submodule struct {
Name string
@@ -21,7 +25,9 @@ type Submodules []*Submodule
func (s Submodules) Init() error {
for _, sub := range s {
+ fmt.Println("clone", sub.URL)
if err := sub.Init(); err != nil {
+ fmt.Println(err)
return err
}
}