aboutsummaryrefslogtreecommitdiffstats
path: root/packfile
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2015-06-11 11:00:09 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2015-06-11 11:00:09 +0200
commit31eae7b619d166c366bf5df4991f04ba8cebea0a (patch)
treec67e1db9575d58cb5d7edfe4eb44a3aaf5d514e7 /packfile
parentb977a025ca21e3b5ca123d8093bd7917694f6da7 (diff)
parentd2a38b4a5965d529566566640519d03d2bd10f6c (diff)
downloadgo-git-31eae7b619d166c366bf5df4991f04ba8cebea0a.tar.gz
Merge pull request #65 from toqueteos/repo-redirects
Update URLs for moved repositories
Diffstat (limited to 'packfile')
-rw-r--r--packfile/reader.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/packfile/reader.go b/packfile/reader.go
index 8cae3cb..1a445aa 100644
--- a/packfile/reader.go
+++ b/packfile/reader.go
@@ -40,8 +40,7 @@ func (t *TrackingByteReader) ReadByte() (c byte, err error) {
}
type PackfileReader struct {
- r *TrackingByteReader
- pos int
+ r *TrackingByteReader
objects map[string]packfileObject
offsets map[int]string