aboutsummaryrefslogtreecommitdiffstats
path: root/submodule.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-07-27 09:30:04 +0200
committerGitHub <noreply@github.com>2017-07-27 09:30:04 +0200
commitc2561364e33763d3356a23c5850424a334de30e9 (patch)
tree76e38753b585d86643824f14f5c970db65046b45 /submodule.go
parent6b8d9f6d6bcf7f4282e5e4d7133f357d15ddc074 (diff)
parentab590eb89849a0319b8c5a4d7fd980137da7180d (diff)
downloadgo-git-c2561364e33763d3356a23c5850424a334de30e9.tar.gz
Merge pull request #513 from mcuadros/worktree-fs
worktree: expose underlying filesystem
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 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
}