aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/packfile/common.go
Commit message (Collapse)AuthorAgeFilesLines
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-2/+2
|
* plumbing: packfile/scanner, readability/performance improvements, zlib poolingArran Walker2019-04-221-0/+10
| | | | Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
* git: return better error message when packfile cannot be downloadedJavi Fontan2018-11-301-1/+7
| | | | | | | | Previously the error message when the connection was closed while fetching was "object not found" and was misleading. Now when the packfile size is 0 the error "unable to fetch packfile" is returned. Signed-off-by: Javi Fontan <jfontan@gmail.com>
* plumbing: packfile, allow non-seekable sources on ParserMiguel Molina2018-08-081-57/+6
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* *: use parser to populate non writable storages and bug fixesMiguel Molina2018-08-071-12/+67
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* *: Use CheckClose with named returnsJavi Fontan2018-03-271-2/+1
| | | | | | | | 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>
* packfile: improve performance a little by reducing gc pressureMiguel Molina2017-09-041-0/+8
| | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
* packfile: check close error in UpdateObjectStorageSantiago M. Mola2017-07-191-8/+14
|
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-1/+1
| | | | 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-1/+1
|
* Fix some typos in plumbing docs (#244)Sergio Arbeo2017-01-301-1/+1
|
* server: add git server implementation (#190)Santiago M. Mola2017-01-041-0/+30
| | | | | | | | | | | | | | | * server: add generic server implementation (transport-independent), both for git-upload-pack and git-receive-pack. * server: move internal functions to internal/common. * cli: add git-receive-pack and git-upload-pack implementations. * format/packfile: add UpdateObjectStorage function, extracted from Remote. * transport: implement tranport RPC-like, only with git-upload-pack and git-receive-pack methods. Client renamed to Transport. * storer: add storer.Storer interface. * protocol/packp: add UploadPackResponse constructor with packfile. * protocol/packp: fix UploadPackResponse encoding, add tests. * protocol/packp/capability: implement All.
* plumbing/packfile: PACK encoder (#131)Antonio Navarro Perez2016-11-241-0/+15
* plumbing/packfile: PACK encoder - Added simple PACK encoder, deltas not supported by now * Requested changes * Requested changes * Requested changes