diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-07-26 21:46:49 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-07-26 21:46:49 +0200 |
commit | ab590eb89849a0319b8c5a4d7fd980137da7180d (patch) | |
tree | 15544e667d27d87ebd9b73295e11351d85e1a008 /submodule.go | |
parent | e19163e22eb19b352dd022f6edc9d81e1cd7a7ed (diff) | |
download | go-git-ab590eb89849a0319b8c5a4d7fd980137da7180d.tar.gz |
worktree: expose underlying filesystem
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 ac027c2..fbaddfd 100644 --- a/submodule.go +++ b/submodule.go @@ -115,7 +115,7 @@ func (s *Submodule) Repository() (*Repository, error) { } var worktree billy.Filesystem - if worktree, err = s.w.fs.Chroot(s.c.Path); err != nil { + if worktree, err = s.w.Filesystem.Chroot(s.c.Path); err != nil { return nil, err } |