diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-07-27 09:30:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-27 09:30:04 +0200 |
commit | c2561364e33763d3356a23c5850424a334de30e9 (patch) | |
tree | 76e38753b585d86643824f14f5c970db65046b45 /repository.go | |
parent | 6b8d9f6d6bcf7f4282e5e4d7133f357d15ddc074 (diff) | |
parent | ab590eb89849a0319b8c5a4d7fd980137da7180d (diff) | |
download | go-git-c2561364e33763d3356a23c5850424a334de30e9.tar.gz |
Merge pull request #513 from mcuadros/worktree-fs
worktree: expose underlying filesystem
Diffstat (limited to 'repository.go')
-rw-r--r-- | repository.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.go b/repository.go index b80f8d9..00ffaf7 100644 --- a/repository.go +++ b/repository.go @@ -844,7 +844,7 @@ func (r *Repository) Worktree() (*Worktree, error) { return nil, ErrIsBareRepository } - return &Worktree{r: r, fs: r.wt}, nil + return &Worktree{r: r, Filesystem: r.wt}, nil } // ResolveRevision resolves revision to corresponding hash. |