aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_commit.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-07-26 21:46:49 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-07-26 21:46:49 +0200
commitab590eb89849a0319b8c5a4d7fd980137da7180d (patch)
tree15544e667d27d87ebd9b73295e11351d85e1a008 /worktree_commit.go
parente19163e22eb19b352dd022f6edc9d81e1cd7a7ed (diff)
downloadgo-git-ab590eb89849a0319b8c5a4d7fd980137da7180d.tar.gz
worktree: expose underlying filesystem
Diffstat (limited to 'worktree_commit.go')
-rw-r--r--worktree_commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree_commit.go b/worktree_commit.go
index 02a5d03..e5d0a11 100644
--- a/worktree_commit.go
+++ b/worktree_commit.go
@@ -32,7 +32,7 @@ func (w *Worktree) Commit(msg string, opts *CommitOptions) (plumbing.Hash, error
}
h := &buildTreeHelper{
- fs: w.fs,
+ fs: w.Filesystem,
s: w.r.Storer,
}