aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-08-31 12:29:27 +0200
committerJavi Fontan <jfontan@gmail.com>2018-08-31 12:29:27 +0200
commit2a7c664b62dd0d87f7ab67b30b1952727788cffa (patch)
tree003b65896424257e26d1f28ba2d8c9a4388fa223 /options.go
parentd7e6cf5b73947108d0c16b9c04b38891de47ef5d (diff)
downloadgo-git-2a7c664b62dd0d87f7ab67b30b1952727788cffa.tar.gz
git: do not expose storage options in PlainOpen
Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'options.go')
-rw-r--r--options.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/options.go b/options.go
index f67a454..7b1570f 100644
--- a/options.go
+++ b/options.go
@@ -9,7 +9,6 @@ import (
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/object"
"gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/sideband"
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
"gopkg.in/src-d/go-git.v4/plumbing/transport"
)
@@ -429,9 +428,6 @@ func (o *GrepOptions) Validate(w *Worktree) error {
// PlainOpenOptions describes how opening a plain repository should be
// performed.
type PlainOpenOptions struct {
- // Storage layer options.
- Storage storer.Options
-
// DetectDotGit defines whether parent directories should be
// walked until a .git directory or file is found.
DetectDotGit bool