diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-29 02:16:26 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-29 02:16:26 +0100 |
commit | de1c0bfec0269ff2a31b62d13612d833da178ec4 (patch) | |
tree | 9a47045401c1991747dd1f2e5497efff1e3dc1e5 /storage/memory/storage.go | |
parent | cf9efc629eae67dc5c05c06e3cb0470bb1696f73 (diff) | |
download | go-git-de1c0bfec0269ff2a31b62d13612d833da178ec4.tar.gz |
storage: IndexStorer implementation
Diffstat (limited to 'storage/memory/storage.go')
-rw-r--r-- | storage/memory/storage.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/memory/storage.go b/storage/memory/storage.go index 444f289..5d0bff1 100644 --- a/storage/memory/storage.go +++ b/storage/memory/storage.go @@ -72,7 +72,7 @@ func (c *IndexStorage) SetIndex(idx *index.Index) error { func (c *IndexStorage) Index() (*index.Index, error) { if c.index == nil { - c.index = &index.Index{} + c.index = &index.Index{Version: 2} } return c.index, nil |