diff options
Diffstat (limited to 'submodule.go')
-rw-r--r-- | submodule.go | 2 |
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 } |