aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/packfile/scanner.go
Commit message (Collapse)AuthorAgeFilesLines
* plumbing: format/packfile, performance optimizations for reading large ↵Filip Navara2018-11-281-4/+42
| | | | | | commit histories (#963) Signed-off-by: Filip Navara <navara@emclient.com>
* *: Use CheckClose with named returnsJavi Fontan2018-03-271-2/+3
| | | | | | | | Previously some close errors were losts. This is specially problematic in go-git as lots of work is done here like generating indexes and moving packfiles. Signed-off-by: Javi Fontan <jfontan@gmail.com>
* plumbing: packfile, Add a buffer to crc writer.Javi Fontan2018-01-211-9/+31
| | | | | | | | | | | crc update with block smaller than 16 bytes uses a slower version of the function. ReadByte is heavily used by zlib inflate so most of the time crc is update byte by byte. A new Flush method is added to the scanner to flush this crc writer cache. It is only called when the Scanner reader is a teeReader. Signed-off-by: Javi Fontan <jfontan@gmail.com>
* packfile: improve performance a little by reducing gc pressureMiguel Molina2017-09-041-2/+13
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* packfile: check zlib reader closing errorSantiago M. Mola2017-07-191-13/+8
|
* format/packfile: rename Seek to SeekFromStartSantiago M. Mola2017-04-261-2/+3
| | | | | | This has signature and behavior distinct from io.Seeker, go vet complains about this, so we change it to a different name to avoid confusion.
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-2/+2
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-2/+2
|
* packfile/scanner: reset zlib reader instead of new one (#201)Antonio Navarro Perez2017-01-121-5/+20
|
* revision based on goreportcard.comMáximo Cuadros2016-12-061-1/+1
|
* plumbing/packfile: PACK encoder (#131)Antonio Navarro Perez2016-11-241-15/+1
| | | | | | | | | | | | * plumbing/packfile: PACK encoder - Added simple PACK encoder, deltas not supported by now * Requested changes * Requested changes * Requested changes
* new plumbing package (#118)Máximo Cuadros2016-11-081-0/+418
* plumbing: now core was renamed to core, and formats and clients moved inside