Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | undo import enforcementv3.0.2 | Máximo Cuadros | 2016-04-25 | 1 | -1/+1 |
| | |||||
* | documentation | Máximo Cuadros | 2016-04-25 | 4 | -10/+66 |
| | |||||
* | remote.Head and repository.PullDefault | Máximo Cuadros | 2016-04-25 | 4 | -0/+44 |
| | |||||
* | dump v3 | Máximo Cuadros | 2016-04-22 | 1 | -3/+3 |
| | |||||
* | file, added field Modev3.0.1 | Máximo Cuadros | 2016-04-22 | 4 | -14/+13 |
| | |||||
* | Merge pull request #39 from scjalliance/git-object-interface | Máximo Cuadros | 2016-03-08 | 14 | -220/+316 |
|\ | | | | | Added Object interface for Commit, Tree, Blob and Tag | ||||
| * | Added Object interface for Commit, Tree, Blob and Tag | Joshua Sjoding | 2016-03-08 | 14 | -220/+316 |
|/ | | | | | | | | | | | | | * New Object interface is distinct from core.Object * New Object interface is used in places where returned object could be of any type * Object is implemented by Commit, Tree, Blob, File and Tag * Added Repository.Object function for retrieving objects of any type * Tag.Object now returns Object instead of core.Object * Tag target hash is now publicly accessible * Renamed Tag.Type field to Tag.TargetType, making it distinct from Tag.Type function * Fixed infinite recursive loop in TagIter.Close * TreeWalker.Next now returns Object instead of core.Object * Removed some duplicate test setup code | ||||
* | Merge pull request #37 from scjalliance/objfile-format | Máximo Cuadros | 2016-02-27 | 15 | -19/+610 |
|\ | | | | | Added support for objfile format | ||||
| * | Improved objfile error handling and test coverage | Joshua Sjoding | 2016-02-27 | 6 | -3/+70 |
| | | |||||
| * | Renamed internal close function to checkClose | Joshua Sjoding | 2016-02-27 | 8 | -18/+18 |
| | | | | | | | | * Old name accidentally shadowed builtin close function | ||||
| * | Added objfile format used for loose git objects | Joshua Sjoding | 2016-02-27 | 6 | -0/+519 |
| | | |||||
| * | Added function to check validity of core.ObjectType | Joshua Sjoding | 2016-02-26 | 1 | -0/+5 |
|/ | |||||
* | Merge pull request #35 from scjalliance/hasher | Máximo Cuadros | 2016-02-26 | 2 | -7/+29 |
|\ | | | | | Added Hasher for computing hashes of streamed objects | ||||
| * | Added Hasher for computing hashes of streamed objects | Joshua Sjoding | 2016-02-25 | 2 | -7/+29 |
|/ | |||||
* | Merge pull request #34 from scjalliance/object-reader-writer | Máximo Cuadros | 2016-02-25 | 18 | -54/+237 |
|\ | | | | | Refactor to use core.ObjectReader and core.ObjectWriter | ||||
| * | Refactor to use core.ObjectReader and core.ObjectWriter | Joshua Sjoding | 2016-02-25 | 18 | -54/+237 |
|/ | | | | | | | | | | | | * New function signatures provide the necessary interface to stream data from disk when using filesystem-based storage in the future * New function signatures provide proper error handling * ObjectReader and ObjectWriter interfaces added to avoid future refactoring, currently are type aliases for io.ReadCloser and io.WriteCloser respectively * Object.Reader now returns (ObjectReader, error) * Object.Writer now returns (ObjectWriter, error) * File.Contents now returns (string, error) * File.Lines now returns ([]string, error) * Blob.Reader now returns (core.ObjectReader, error) * Added internal close helper function for deferred calls to Close that need to check the return value | ||||
* | File, added size and reader is now a methodv3.0.0 | Máximo Cuadros | 2016-02-22 | 4 | -76/+166 |
| | |||||
* | Merge pull request #32 from scjalliance/annotated-tags | Máximo Cuadros | 2016-02-20 | 8 | -4/+425 |
|\ | | | | | Annotated tags | ||||
| * | Improved support for Blob objects | Joshua Sjoding | 2016-02-19 | 5 | -20/+96 |
| | | |||||
| * | Added support for annotated tags | Joshua Sjoding | 2016-02-18 | 5 | -1/+297 |
| | | |||||
| * | Added ParseObjectType function to core | Joshua Sjoding | 2016-02-18 | 1 | -0/+22 |
| | | |||||
| * | Added helper function for test fixture unpacking | Joshua Sjoding | 2016-02-18 | 1 | -2/+29 |
|/ | |||||
* | travis: adding 1.6 | Máximo Cuadros | 2016-02-18 | 1 | -1/+2 |
| | |||||
* | signature decode refactor | Máximo Cuadros | 2016-02-18 | 1 | -50/+37 |
| | |||||
* | Merge pull request #30 from scjalliance/consistent-iterators | Máximo Cuadros | 2016-02-17 | 11 | -69/+413 |
|\ | | | | | Improved consistency of Tree iterators | ||||
| * | Tree.Entries is now a slice | Joshua Sjoding | 2016-02-17 | 2 | -23/+27 |
| | | | | | | | | Tree's mapping of names to entries has been made internal, and will only be built when necessary with the first call to Tree.File(). | ||||
| * | New iteration behavior via FileIter and TreeWalker | Joshua Sjoding | 2016-02-17 | 11 | -62/+402 |
|/ | | | | | | | | | | | | | | | | | | | | | | Instead of returning a channel of files, Tree.Files() now returns a FileIter with these qualities: * It returns files in the original order of the repository (relying on a * new Tree.OrderedNames property) * It can return errors encountered when retrieving files and trees from * underlying storage * It can be Closed without having to drain the entire channel * It defers the heavy lifting to a new TreeWalker type * Its behavior is a little more consistent with other Iter types * It's a little less prone to memory leaks This update includes a new TreeWalker type that will iterate through all of the entries of a tree and its descendant subtrees. It does the dirty work that Tree.walkEntries() used to do, but with a public API. A new TreeIter type is also included that just walks through subtrees. This could be useful for performing a directory search while ignoring files/blobs altogether. | ||||
* | update imports to v3 | Máximo Cuadros | 2016-02-17 | 36 | -64/+64 |
| | |||||
* | Merge pull request #28 from mcuadros/memory-object | Máximo Cuadros | 2016-02-17 | 14 | -97/+289 |
|\ | | | | | storages: memory object | ||||
| * | storages: memory object | Máximo Cuadros | 2016-02-17 | 14 | -97/+289 |
|/ | |||||
* | Merge pull request #27 from scjalliance/windows-compatibility | Máximo Cuadros | 2016-02-16 | 1 | -3/+3 |
|\ | | | | | File paths will now be consistent across platforms | ||||
| * | File paths will now be consistent across platforms | Joshua Sjoding | 2016-02-16 | 1 | -3/+3 |
|/ | | | | | | | | Previously go-git used filepath.Join when walking tree structures and constructing paths, but its results are platform-dependent as it will return different results on different systems. For example, it will use backslashes as a path separator on Windows. As a result the SuiteTree.TestFiles test was failing on Windows because the returned paths didn't match what was expected. filepath.Join has been changed to path.Join, which will return consistent results for all platforms. This change makes it so that go-git will always return paths with forward-slash delimiters. Users of the library should convert the resulting file paths into platform-compatible paths when necessary. | ||||
* | Merge pull request #20 from scjalliance/generic-object-storage | Máximo Cuadros | 2016-02-16 | 7 | -101/+274 |
|\ | | | | | Iterable ObjectStorage interface for use in Repository struct | ||||
| * | Functions in core.ObjectStorage interface now return an error | Joshua Sjoding | 2016-02-16 | 6 | -41/+62 |
| | | |||||
| * | Merge remote-tracking branch 'upstream/master' into generic-object-storage | Joshua Sjoding | 2016-02-15 | 8 | -69/+75 |
| |\ | |||||
| * | | ObjectLookupIter.Next() now returns ObjectNotFoundErr when appropriate | Joshua Sjoding | 2016-02-15 | 1 | -3/+9 |
| | | | |||||
| * | | Added tests for CommitIter | Joshua Sjoding | 2016-02-15 | 1 | -7/+87 |
| | | | |||||
| * | | Renamed ObjectStorage.IterType() to Iter() and improved documentation for ↵ | Joshua Sjoding | 2016-02-15 | 2 | -6/+15 |
| | | | | | | | | | | | | object iterators | ||||
| * | | Merge remote-tracking branch 'upstream/master' into generic-object-storage | Joshua Sjoding | 2016-02-01 | 5 | -16/+116 |
| |\ \ | |||||
| * | | | Renamed ObjectStorage Iter function to IterType | Joshua Sjoding | 2016-02-01 | 2 | -3/+3 |
| | | | | |||||
| * | | | Repository now works against the generic ObjectStore interface | Joshua Sjoding | 2016-01-23 | 5 | -65/+122 |
| | | | | |||||
* | | | | remove package docv2.2.0 | Máximo Cuadros | 2016-02-16 | 6 | -40/+27 |
| | | | | |||||
* | | | | remove blame package header | Máximo Cuadros | 2016-02-16 | 3 | -3/+8 |
|\ \ \ \ | |||||
| * \ \ \ | Merge pull request #25 from shawnps/patch-1 | Máximo Cuadros | 2016-02-16 | 1 | -1/+1 |
| |\ \ \ \ | | | | | | | | | | | | | fix typo | ||||
| | * | | | | fix typo | Shawn Smith | 2016-02-17 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Merge pull request #24 from shawnps/master | Máximo Cuadros | 2016-02-16 | 1 | -1/+1 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | gofmt -s | ||||
| | * | | | | | gofmt -s | Shawn Smith | 2016-02-17 | 1 | -1/+1 |
| | |/ / / / | |||||
| * | | | | | Merge pull request #26 from shawnps/patch-2 | Máximo Cuadros | 2016-02-16 | 1 | -1/+1 |
| |\ \ \ \ \ | | |/ / / / | |/| | | | | fix typo | ||||
| | * | | | | fix typo | Shawn Smith | 2016-02-17 | 1 | -1/+1 |
| |/ / / / | |||||
| * | | | | Merge pull request #22 from alcortesm/master | Máximo Cuadros | 2016-02-16 | 1 | -0/+5 |
| |\ \ \ \ | | | | | | | | | | | | | add blame comment to readme and fix typo |