Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | example: improvements on the storage example | Máximo Cuadros | 2016-08-31 | 2 | -45/+54 |
| | |||||
* | Merge branch 'v4' of github.com:src-d/go-git into v4 | Máximo Cuadros | 2016-08-31 | 2 | -26/+39 |
|\ | |||||
| * | clients/common: GitUploadPackInfo correct handling capabilities and symrefs | Máximo Cuadros | 2016-08-31 | 2 | -26/+39 |
| | | |||||
* | | NewObjectLookupIter asking right type | Máximo Cuadros | 2016-08-31 | 2 | -2/+7 |
|/ | |||||
* | Support non packed objects (#68) | sona-tar | 2016-08-30 | 6 | -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. Mola | 2016-08-30 | 2 | -598/+0 |
| | | | Implementation is now in tree_diff.go. | ||||
* | DiffTree based on TreeWalker | Máximo Cuadros | 2016-08-30 | 5 | -77/+190 |
| | |||||
* | TreeWalker optimization | Máximo Cuadros | 2016-08-30 | 4 | -16/+35 |
| | |||||
* | examples: storage example review | Máximo Cuadros | 2016-08-30 | 3 | -266/+365 |
| | |||||
* | core: Storage.Get, switch order of args | Máximo Cuadros | 2016-08-29 | 14 | -24/+27 |
| | |||||
* | storage: Add object type hint parameter to ObjectStorage.Get. (#69) | Santiago M. Mola | 2016-08-29 | 17 | -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 effect | Máximo Cuadros | 2016-08-29 | 2 | -4/+15 |
| | |||||
* | object: Add Encode method to all objects. (#70) | Santiago M. Mola | 2016-08-29 | 9 | -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 modes | Máximo Cuadros | 2016-08-26 | 4 | -263/+64 |
| | |||||
* | Repository: Clone protection if non empty object storage, Remote: ↵ | Máximo Cuadros | 2016-08-25 | 8 | -16/+100 |
| | | | | NoErrAlreadyUpToDate | ||||
* | clients/http: better error handling | Máximo Cuadros | 2016-08-25 | 6 | -16/+77 |
| | |||||
* | clients/ssh: test fix | Máximo Cuadros | 2016-08-24 | 8 | -162/+91 |
| | |||||
* | WalkCommitHistory adn Commit.History | Máximo Cuadros | 2016-08-23 | 5 | -0/+144 |
| | |||||
* | ForEach review and Commit.Tree err return | Máximo Cuadros | 2016-08-22 | 19 | -192/+200 |
| | |||||
* | options renamed and some text fixes | Máximo Cuadros | 2016-08-22 | 15 | -69/+83 |
| | |||||
* | Remote.Fetch multiple RefSpec support | Máximo Cuadros | 2016-08-22 | 10 | -63/+174 |
| | |||||
* | examples: improved basic and remote examples | Máximo Cuadros | 2016-08-22 | 2 | -23/+98 |
| | |||||
* | remote and repository base on ConfigStore | Máximo Cuadros | 2016-08-21 | 8 | -62/+103 |
| | |||||
* | storage/filesystem: ConfigStore implementation | Máximo Cuadros | 2016-08-21 | 4 | -8/+135 |
| | |||||
* | remote and repository base on ConfigStore | Máximo Cuadros | 2016-08-20 | 6 | -95/+87 |
| | |||||
* | storage: support ConfigStorage, memory done, fs wip | Máximo Cuadros | 2016-08-20 | 3 | -15/+68 |
| | |||||
* | Remote.Fetch base on RefSpec, improvement of the responsabilities separation | Máximo Cuadros | 2016-08-19 | 14 | -325/+365 |
| | |||||
* | clients/http: fix tests | Máximo Cuadros | 2016-08-18 | 1 | -1/+1 |
| | |||||
* | examples: fix fs_implementation example | Máximo Cuadros | 2016-08-18 | 2 | -2/+9 |
| | |||||
* | core: RefSpec support | Máximo Cuadros | 2016-08-18 | 2 | -0/+159 |
| | |||||
* | example: fix storag example | Máximo Cuadros | 2016-08-16 | 1 | -0/+21 |
| | |||||
* | clients/common: Endpoint SCP like support | Máximo Cuadros | 2016-08-16 | 2 | -0/+23 |
| | |||||
* | NewFilesystemRepository and example | Máximo Cuadros | 2016-08-15 | 2 | -2/+44 |
| | |||||
* | core: *Iter.ForEach method | Máximo Cuadros | 2016-08-15 | 11 | -44/+223 |
| | |||||
* | Repository.Pull, PoC | Máximo Cuadros | 2016-08-15 | 3 | -5/+119 |
| | |||||
* | examples: fix | Máximo Cuadros | 2016-08-15 | 2 | -2/+2 |
| | |||||
* | Repository.Clone and Remote.Fetch remote, local branches and client: correct ↵ | Máximo Cuadros | 2016-08-15 | 13 | -84/+323 |
| | | | | header read | ||||
* | core: Storage, removing err returning *Storages | Máximo Cuadros | 2016-08-14 | 17 | -103/+211 |
| | |||||
* | core: removing Object.Content, the Reader should be used always | Máximo Cuadros | 2016-08-14 | 5 | -11/+33 |
| | |||||
* | fix tests and examples | Máximo Cuadros | 2016-08-14 | 9 | -39/+57 |
| | |||||
* | Repository.Clone and Remote.Fetch tests and improvements | Máximo Cuadros | 2016-08-13 | 9 | -120/+226 |
| | |||||
* | clients: new Endpoint implementation and InstallProtocol function | Máximo Cuadros | 2016-08-13 | 9 | -162/+129 |
| | |||||
* | Repository and Remote API changes | Máximo Cuadros | 2016-08-13 | 18 | -202/+211 |
| | |||||
* | storage: Storage entity support, and DotGit support for References | Máximo Cuadros | 2016-08-12 | 10 | -874/+877 |
| | |||||
* | core: Storage, now returns errors | Máximo Cuadros | 2016-08-12 | 2 | -24/+49 |
| | |||||
* | small improvements | Máximo Cuadros | 2016-08-12 | 6 | -55/+70 |
| | |||||
* | storage/memory: implemented ReferenceStorage and Storage | Máximo Cuadros | 2016-08-12 | 2 | -21/+183 |
| | |||||
* | examples: object_storage example | Máximo Cuadros | 2016-08-12 | 2 | -0/+164 |
| | |||||
* | general: usage of the new Reference objects | Máximo Cuadros | 2016-08-12 | 8 | -85/+105 |
| | |||||
* | core: Reference logic implementation, and InvalidObject ObjectType | Máximo Cuadros | 2016-08-11 | 2 | -0/+181 |
| |