diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-08-31 12:29:27 +0200 |
---|---|---|
committer | Javi Fontan <jfontan@gmail.com> | 2018-08-31 12:29:27 +0200 |
commit | 2a7c664b62dd0d87f7ab67b30b1952727788cffa (patch) | |
tree | 003b65896424257e26d1f28ba2d8c9a4388fa223 /repository.go | |
parent | d7e6cf5b73947108d0c16b9c04b38891de47ef5d (diff) | |
download | go-git-2a7c664b62dd0d87f7ab67b30b1952727788cffa.tar.gz |
git: do not expose storage options in PlainOpen
Signed-off-by: Javi Fontan <jfontan@gmail.com>
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 4ad5252..f619934 100644 --- a/repository.go +++ b/repository.go @@ -251,7 +251,7 @@ func PlainOpenWithOptions(path string, o *PlainOpenOptions) (*Repository, error) return nil, err } - s, err := filesystem.NewStorageWithOptions(dot, o.Storage) + s, err := filesystem.NewStorage(dot) if err != nil { return nil, err } |