From 8f52c5099e7fe4a2519920a7bbf5a9bb52ff9cec Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Wed, 28 Nov 2018 01:29:41 +0100 Subject: plumbing: format/packfile, performance optimizations for reading large commit histories (#963) Signed-off-by: Filip Navara --- storage/filesystem/storage.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'storage/filesystem/storage.go') diff --git a/storage/filesystem/storage.go b/storage/filesystem/storage.go index 14a772a..370f7bd 100644 --- a/storage/filesystem/storage.go +++ b/storage/filesystem/storage.go @@ -51,11 +51,7 @@ func NewStorageWithOptions(fs billy.Filesystem, cache cache.Object, ops Options) fs: fs, dir: dir, - ObjectStorage: ObjectStorage{ - options: ops, - deltaBaseCache: cache, - dir: dir, - }, + ObjectStorage: *NewObjectStorageWithOptions(dir, cache, ops), ReferenceStorage: ReferenceStorage{dir: dir}, IndexStorage: IndexStorage{dir: dir}, ShallowStorage: ShallowStorage{dir: dir}, -- cgit