aboutsummaryrefslogtreecommitdiffstats
path: root/submodule.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2020-05-24 11:23:04 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2020-05-24 11:23:04 +0200
commit86c0c010927fe59ae54563a9a86db200a18f4c2e (patch)
treef83e183db75f414163ab8422ac6e00c0f6eebf31 /submodule.go
parent26d02b3fec4434d663445d580497204e79284db0 (diff)
downloadgo-git-86c0c010927fe59ae54563a9a86db200a18f4c2e.tar.gz
Repository.ConfigScoped and Repository.Commit with empty author support
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 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
}