From ed288b30de1ac3dcb3ce675c4b9af89eb4e6fcba Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Tue, 21 Feb 2017 16:03:39 +0100 Subject: documentation and API improvements --- submodule.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'submodule.go') 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 } -- cgit