aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/clone
diff options
context:
space:
mode:
Diffstat (limited to '_examples/clone')
-rw-r--r--_examples/clone/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/_examples/clone/main.go b/_examples/clone/main.go
index d4d3880..bcdb6a9 100644
--- a/_examples/clone/main.go
+++ b/_examples/clone/main.go
@@ -18,7 +18,7 @@ func main() {
r, err := git.PlainClone(directory, false, &git.CloneOptions{
URL: url,
- RecurseSubmodules: git.DefaultRecursivity,
+ RecurseSubmodules: git.DefaultSubmoduleRecursionDepth,
})
CheckIfError(err)