aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* remote and repository base on ConfigStoreMáximo Cuadros2016-08-218-62/+103
|
* storage/filesystem: ConfigStore implementationMáximo Cuadros2016-08-214-8/+135
|
* remote and repository base on ConfigStoreMáximo Cuadros2016-08-206-95/+87
|
* storage: support ConfigStorage, memory done, fs wipMáximo Cuadros2016-08-203-15/+68
|
* Remote.Fetch base on RefSpec, improvement of the responsabilities separationMáximo Cuadros2016-08-1914-325/+365
|
* clients/http: fix testsMáximo Cuadros2016-08-181-1/+1
|
* examples: fix fs_implementation exampleMáximo Cuadros2016-08-182-2/+9
|
* core: RefSpec supportMáximo Cuadros2016-08-182-0/+159
|
* example: fix storag exampleMáximo Cuadros2016-08-161-0/+21
|
* clients/common: Endpoint SCP like supportMáximo Cuadros2016-08-162-0/+23
|
* NewFilesystemRepository and exampleMáximo Cuadros2016-08-152-2/+44
|
* core: *Iter.ForEach methodMáximo Cuadros2016-08-1511-44/+223
|
* Repository.Pull, PoCMáximo Cuadros2016-08-153-5/+119
|
* examples: fixMáximo Cuadros2016-08-152-2/+2
|
* Repository.Clone and Remote.Fetch remote, local branches and client: correct ↵Máximo Cuadros2016-08-1513-84/+323
| | | | header read
* core: Storage, removing err returning *StoragesMáximo Cuadros2016-08-1417-103/+211
|
* core: removing Object.Content, the Reader should be used alwaysMáximo Cuadros2016-08-145-11/+33
|
* fix tests and examplesMáximo Cuadros2016-08-149-39/+57
|
* Repository.Clone and Remote.Fetch tests and improvementsMáximo Cuadros2016-08-139-120/+226
|
* clients: new Endpoint implementation and InstallProtocol functionMáximo Cuadros2016-08-139-162/+129
|
* Repository and Remote API changesMáximo Cuadros2016-08-1318-202/+211
|
* storage: Storage entity support, and DotGit support for ReferencesMáximo Cuadros2016-08-1210-874/+877
|
* core: Storage, now returns errorsMáximo Cuadros2016-08-122-24/+49
|
* small improvementsMáximo Cuadros2016-08-126-55/+70
|
* storage/memory: implemented ReferenceStorage and StorageMáximo Cuadros2016-08-122-21/+183
|