diff options
Diffstat (limited to 'worktree.go')
-rw-r--r-- | worktree.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/worktree.go b/worktree.go index d2cb29a..ddf6fff 100644 --- a/worktree.go +++ b/worktree.go @@ -13,6 +13,7 @@ import ( "gopkg.in/src-d/go-git.v4/config" "gopkg.in/src-d/go-git.v4/plumbing" "gopkg.in/src-d/go-git.v4/plumbing/filemode" + "gopkg.in/src-d/go-git.v4/plumbing/format/gitignore" "gopkg.in/src-d/go-git.v4/plumbing/format/index" "gopkg.in/src-d/go-git.v4/plumbing/object" "gopkg.in/src-d/go-git.v4/plumbing/storer" @@ -33,6 +34,8 @@ var ( type Worktree struct { // Filesystem underlying filesystem. Filesystem billy.Filesystem + // External excludes not found in the repository .gitignore + Excludes []gitignore.Pattern r *Repository } |