diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-21 16:03:39 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-21 16:03:39 +0100 |
commit | ed288b30de1ac3dcb3ce675c4b9af89eb4e6fcba (patch) | |
tree | 6eb908b839d6c225d95691d91e3d5ef5220f54c1 /_examples | |
parent | d6a6decd1be0515faf36256ce06c58c7d662bbd0 (diff) | |
download | go-git-ed288b30de1ac3dcb3ce675c4b9af89eb4e6fcba.tar.gz |
documentation and API improvements
Diffstat (limited to '_examples')
-rw-r--r-- | _examples/clone/main.go | 2 |
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) |