aboutsummaryrefslogtreecommitdiffstats
path: root/submodule.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-02-21 16:03:39 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-02-21 16:03:39 +0100
commited288b30de1ac3dcb3ce675c4b9af89eb4e6fcba (patch)
tree6eb908b839d6c225d95691d91e3d5ef5220f54c1 /submodule.go
parentd6a6decd1be0515faf36256ce06c58c7d662bbd0 (diff)
downloadgo-git-ed288b30de1ac3dcb3ce675c4b9af89eb4e6fcba.tar.gz
documentation and API improvements
Diffstat (limited to 'submodule.go')
-rw-r--r--submodule.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule.go b/submodule.go
index b6cc045..e329fda 100644
--- a/submodule.go
+++ b/submodule.go
@@ -107,7 +107,7 @@ func (s *Submodule) Update(o *SubmoduleUpdateOptions) error {
}
func (s *Submodule) doRecrusiveUpdate(r *Repository, o *SubmoduleUpdateOptions) error {
- if o.RecurseSubmodules == NoRecursivity {
+ if o.RecurseSubmodules == NoRecurseSubmodules {
return nil
}