diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2020-05-24 16:53:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-24 16:53:30 +0200 |
commit | e7f544844d6d736acfd9d75ee0d4a9d37f450103 (patch) | |
tree | dc44247231e6603bf10acaee91af5523120b4b84 /submodule.go | |
parent | 6d8103df45ce09ffd5323b4ef46d26440400a54f (diff) | |
parent | baf8c2761217cd457ef672972d5c1fb4d066e95a (diff) | |
download | go-git-e7f544844d6d736acfd9d75ee0d4a9d37f450103.tar.gz |
Merge pull request #75 from mcuadros/scope-config
repository.ConfigScoped and worktree.Commit with empty CommitOptions
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 92ccdb1..dff26b0 100644 --- a/submodule.go +++ b/submodule.go @@ -35,7 +35,7 @@ func (s *Submodule) Config() *config.Submodule { // Init initialize the submodule reading the recorded Entry in the index for // the given submodule func (s *Submodule) Init() error { - cfg, err := s.w.r.Storer.Config() + cfg, err := s.w.r.Config() if err != nil { return err } |