aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test coverage improved, Remote.Refs and Repository.Refs returns error, ↵Máximo Cuadros2016-09-2215-350/+503
| | | | TreeWalker -> TreeIter
* cleanup old fixturesMáximo Cuadros2016-09-228-68/+82
|
* tags tests, Tag.String and Commit.StringMáximo Cuadros2016-09-217-151/+155
|
* fix buildMáximo Cuadros2016-09-205-15/+14
|
* dotgit: synced write packfile and index generationMáximo Cuadros2016-09-1511-101/+314
|
* fixtures: new fixture package being use in all packagesMáximo Cuadros2016-09-1217-404/+293
|
* format: packfile fix ReadObjectAt without decodeMáximo Cuadros2016-09-1110-89/+161
|
* storage: filesystem ref storage, and not not exists file handlingMáximo Cuadros2016-09-1010-34/+68
|
* format: idxfile sorted entriesMáximo Cuadros2016-09-103-2/+42
|
* storage: filesystem iter implementationMáximo Cuadros2016-09-091-7/+12
|
* storage: filesystem iter implementationMáximo Cuadros2016-09-094-40/+201
|
* format: packfile ignores the header if not readMáximo Cuadros2016-09-092-2/+40
|
* core: MultiObjectIterMáximo Cuadros2016-09-092-0/+94
|
* storage: filessytem read multiple packfiles support and index decodingMáximo Cuadros2016-09-0910-2953/+315
|
* format: idxfile.Encoder fix fanout generatorMáximo Cuadros2016-09-093-15/+5
|
* format: packfile based on ObjectStorage and CRC32 calculationMáximo Cuadros2016-09-0816-739/+531
|
* format: packfile buffered readerMáximo Cuadros2016-09-071-10/+25
|
* format: packfile new interfaceMáximo Cuadros2016-09-0722-248/+356
|
* format: packfile new interface (wip)Máximo Cuadros2016-09-0612-851/+407
|
* storage: filesystem idx generation (wip)Máximo Cuadros2016-09-069-427/+341
|
* utils: fs new implementationMáximo Cuadros2016-09-063-149/+178
|
* core: ObjectStorage.WriterMáximo Cuadros2016-09-056-14/+118
|
* core: ObjectStorage.Begin and TxObjectStorageMáximo Cuadros2016-09-0514-38/+180
|
* storage: idiomatic test suiteMáximo Cuadros2016-09-052-27/+51
|
* example: aerospike, fix and moved to packageMáximo Cuadros2016-09-032-67/+76
|
* doc packagesMáximo Cuadros2016-09-019-9/+18
|
* examples: new clone exampleMáximo Cuadros2016-09-012-0/+94
|
* clients: default Auth methodsMáximo Cuadros2016-08-319-61/+115
|
* example: improvements on the storage exampleMáximo Cuadros2016-08-312-45/+54
|
* Merge branch 'v4' of github.com:src-d/go-git into v4Máximo Cuadros2016-08-312-26/+39
|\
| * clients/common: GitUploadPackInfo correct handling capabilities and symrefsMáximo Cuadros2016-08-312-26/+39
| |
* | NewObjectLookupIter asking right typeMáximo Cuadros2016-08-312-2/+7
|/
* Support non packed objects (#68)sona-tar2016-08-306-8/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support non packed git objects * Support non packed git objects for Iterator * Fix error handling from Writer() in FillObject() * Fix format in func (r *Reader) FillObject(obj core.Object) error * Fix to return d.addRefsFromPackedRefs() error And if packed-refs dosen't exist not to return error in d.addRefsFromPackedRefs * Remove debug code * Add GoDoc for func (d *DotGit) Objectfile(h core.Hash) (fs.FS, string, error) * Add GoDoc for func (r *Reader) FillObject(obj core.Object) error * Add GoDoc for func (d *DotGit) Objectfiles() (fs.FS, []core.Hash, error) * Fix format in func (d *DotGit) Objectfile(h core.Hash) (fs.FS, string, error) * Rename value dotGitobjcts -> objsDir * Change regexp.Compile -> regexp.MustCompile * Move regexp to variable initialization * Rename regexp value to be more coherent * Fix object directory name and object file name to correct character * Faster Objectfiles func * Add test for FillObject * Add GoDoc for func (s *ObjectStorage) Get(h core.Hash) (core.Object, error) * defer Close() * Return name values for defer function overwrite the error value. * Fix error handling in func (s *ObjectStorage) Get() Return error that gets error except for ErrObjfileNotFound from getFromUnpacked() * Rename getFromObject -> getFromUnpacked * Add test for func (d *DotGit) Objectfile(h core.Hash) (fs.FS, string, error) * Add test for func (d *DotGit) Objectfiles() (fs.FS, []core.Hash, error) * Faster check git object name * Faster dotgit_test.go * Fix Godoc for Objectfiles func * Refactor variable name in Objectfiles func * Fix GoDoc for objectfile func * Fix TestObjectfile func and TestObjectfiles func * Rename fixobj -> fixObj in Test Objectfile func * Fix test compare method * Refactor Get func in object.go * Refactor getFromUnpacked func in object.go * Fix GoDoc for ErrObjfileNotFound * Fix TestObjectfiles for not guarantee the slice order * Change error no such file or directory to target file not found * Change spec func (s *ObjectStorage) Get(h core.Hash) (core.Object, error) return core.ErrObjectNotFound, if index pointer is nil. * Add space * storage: Add object type hint parameter to ObjectStorage.getFromUnpacked
* remove old utils/difftree package. (#74)Santiago M. Mola2016-08-302-598/+0
| | | Implementation is now in tree_diff.go.
* DiffTree based on TreeWalkerMáximo Cuadros2016-08-305-77/+190
|
* TreeWalker optimizationMáximo Cuadros2016-08-304-16/+35
|
* examples: storage example reviewMáximo Cuadros2016-08-303-266/+365
|
* core: Storage.Get, switch order of argsMáximo Cuadros2016-08-2914-24/+27
|
* storage: Add object type hint parameter to ObjectStorage.Get. (#69)Santiago M. Mola2016-08-2917-140/+171
| | | | | | | Some storage backends can optimize object lookup if they get the object type that is expected. So we the signature of the Get method is now Get(Hash, ObjectType). Added generic tests for storage backends.
* core: MemoryObject.Write, remove SetSize side effectMáximo Cuadros2016-08-292-4/+15
|
* object: Add Encode method to all objects. (#70)Santiago M. Mola2016-08-299-4/+240
| | | | | | | | Encode method encodes a typed object (commit, tree, tag, blob) into raw core.Object representation. Additionally, Decode does not trim commit message lines. This is needed for Decode/Encode to be idempotent.
* Tree, fix modesMáximo Cuadros2016-08-264-263/+64
|
* Repository: Clone protection if non empty object storage, Remote: ↵Máximo Cuadros2016-08-258-16/+100
| | | | NoErrAlreadyUpToDate
* clients/http: better error handlingMáximo Cuadros2016-08-256-16/+77
|
* clients/ssh: test fixMáximo Cuadros2016-08-248-162/+91
|
* WalkCommitHistory adn Commit.HistoryMáximo Cuadros2016-08-235-0/+144
|
* ForEach review and Commit.Tree err returnMáximo Cuadros2016-08-2219-192/+200
|
* options renamed and some text fixesMáximo Cuadros2016-08-2215-69/+83
|
* Remote.Fetch multiple RefSpec supportMáximo Cuadros2016-08-2210-63/+174
|
* examples: improved basic and remote examplesMáximo Cuadros2016-08-222-23/+98
|