aboutsummaryrefslogtreecommitdiffstats
path: root/repository.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 /repository.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 'repository.go')
-rw-r--r--repository.go2
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
}