diff options
author | Miguel Molina <miguel@erizocosmi.co> | 2018-07-19 15:20:10 +0200 |
---|---|---|
committer | Miguel Molina <miguel@erizocosmi.co> | 2018-07-19 15:20:10 +0200 |
commit | 009f1069a1248c1e9189a9e4c342f6d017156ec4 (patch) | |
tree | ac984b72e7c54160b0b154bffd4474f96ae5028e /storage/filesystem/object.go | |
parent | 9f00789688d26191a987fdec8bc2678362ec4453 (diff) | |
download | go-git-009f1069a1248c1e9189a9e4c342f6d017156ec4.tar.gz |
plumbing/format/idxfile: add new Index and MemoryIndex
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Diffstat (limited to 'storage/filesystem/object.go')
-rw-r--r-- | storage/filesystem/object.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/filesystem/object.go b/storage/filesystem/object.go index 9ffe4dc..ef67f50 100644 --- a/storage/filesystem/object.go +++ b/storage/filesystem/object.go @@ -63,7 +63,7 @@ func (s *ObjectStorage) loadIdxFile(h plumbing.Hash) (err error) { } defer ioutil.CheckClose(f, &err) - idxf := idxfile.NewIdxfile() + idxf := idxfile.NewMemoryIndex() d := idxfile.NewDecoder(f) if err = d.Decode(idxf); err != nil { return err |