aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/index/decoder.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-04-26 20:48:13 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-04-26 20:48:13 +0200
commit9b75cb91384dd08eed2acce8c3099e082835da12 (patch)
treef559053ac65bd67e29412f586e71fc2969cd0b8f /plumbing/format/index/decoder.go
parent64cd72debb2a94a49de5ffd3c3a6bfd626df7340 (diff)
downloadgo-git-9b75cb91384dd08eed2acce8c3099e082835da12.tar.gz
plumbing: index, Entries converted in a slice of pointers
Diffstat (limited to 'plumbing/format/index/decoder.go')
-rw-r--r--plumbing/format/index/decoder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/format/index/decoder.go b/plumbing/format/index/decoder.go
index 4bc5af1..5bf6a52 100644
--- a/plumbing/format/index/decoder.go
+++ b/plumbing/format/index/decoder.go
@@ -82,7 +82,7 @@ func (d *Decoder) readEntries(idx *Index, count int) error {
}
d.lastEntry = e
- idx.Entries = append(idx.Entries, *e)
+ idx.Entries = append(idx.Entries, e)
}
return nil