diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-07-26 11:18:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-26 11:18:12 +0200 |
commit | d7b898ea3be0342f064ad63f93aaffdb6518a5b3 (patch) | |
tree | 952839005580551bf9042ded89e2dcda56d779fc /plumbing/format/idxfile/decoder.go | |
parent | fbf2a4ab4588c78e3d9d0265dba774ae6b388b5f (diff) | |
parent | c64eb817d5e5cbaec10dea1342e1ec95721e886b (diff) | |
download | go-git-d7b898ea3be0342f064ad63f93aaffdb6518a5b3.tar.gz |
Merge pull request #510 from smola/refactor-idxfile
packfile: create packfile.Index and reuse it
Diffstat (limited to 'plumbing/format/idxfile/decoder.go')
-rw-r--r-- | plumbing/format/idxfile/decoder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/format/idxfile/decoder.go b/plumbing/format/idxfile/decoder.go index fea5f0b..4243f76 100644 --- a/plumbing/format/idxfile/decoder.go +++ b/plumbing/format/idxfile/decoder.go @@ -104,7 +104,7 @@ func readObjectNames(idx *Idxfile, r io.Reader) error { return err } - idx.Entries = append(idx.Entries, Entry{Hash: ref}) + idx.Entries = append(idx.Entries, &Entry{Hash: ref}) } return nil |