aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/index/decoder.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-05-04 01:48:53 +0200
committerGitHub <noreply@github.com>2017-05-04 01:48:53 +0200
commite727d4d0cf4beff77c44bb143a5edb560c840aab (patch)
treef43a94ef85be1f3a36c5dfb1bb60eb0747c15902 /plumbing/format/index/decoder.go
parent727bf94da8e3cebd3ff467d30425b12d671fbca7 (diff)
parent75c5adffb8b1e80665753784129e2f16210514c1 (diff)
downloadgo-git-e727d4d0cf4beff77c44bb143a5edb560c840aab.tar.gz
Merge pull request #364 from mcuadros/index-pointer
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