aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* signature decode refactorMáximo Cuadros2016-02-181-50/+37
|
* Merge pull request #30 from scjalliance/consistent-iteratorsMáximo Cuadros2016-02-1711-69/+413
|\ | | | | Improved consistency of Tree iterators
| * Tree.Entries is now a sliceJoshua Sjoding2016-02-172-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 TreeWalkerJoshua Sjoding2016-02-1711-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 v3Máximo Cuadros2016-02-1736-64/+64
|
* Merge pull request #28 from mcuadros/memory-objectMáximo Cuadros2016-02-1714-97/+289
|\ | | | | storages: memory object
| * storages: memory objectMáximo Cuadros2016-02-1714-97/+289
|/
* Merge pull request #27 from scjalliance/windows-compatibilityMáximo Cuadros2016-02-161-3/+3
|\ | | | | File paths will now be consistent across platforms
| * File paths will now be consistent across platformsJoshua Sjoding2016-02-161-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-storageMáximo Cuadros2016-02-167-101/+274
|\ | | | | Iterable ObjectStorage interface for use in Repository struct
| * Functions in core.ObjectStorage interface now return an errorJoshua Sjoding2016-02-166-41/+62
| |
| * Merge remote-tracking branch 'upstream/master' into generic-object-storageJoshua Sjoding2016-02-158-69/+75
| |\
| * | ObjectLookupIter.Next() now returns ObjectNotFoundErr when appropriateJoshua Sjoding2016-02-151-3/+9
| | |
| * | Added tests for CommitIterJoshua Sjoding2016-02-151-7/+87
| | |
| * | Renamed ObjectStorage.IterType() to Iter() and improved documentation for ↵Joshua Sjoding2016-02-152-6/+15
| | | | | | | | | | | | object iterators
| * | Merge remote-tracking branch 'upstream/master' into generic-object-storageJoshua Sjoding2016-02-015-16/+116
| |\ \
| * | | Renamed ObjectStorage Iter function to IterTypeJoshua Sjoding2016-02-012-3/+3
| | | |
| * | | Repository now works against the generic ObjectStore interfaceJoshua Sjoding2016-01-235-65/+122
| | | |
* | | | remove package docv2.2.0Máximo Cuadros2016-02-166-40/+27
| | | |
* | | | remove blame package headerMáximo Cuadros2016-02-163-3/+8
|\ \ \ \
| * \ \ \ Merge pull request #25 from shawnps/patch-1Máximo Cuadros2016-02-161-1/+1
| |\ \ \ \ | | | | | | | | | | | | fix typo
| | * | | | fix typoShawn Smith2016-02-171-1/+1
| | | | | |
| * | | | | Merge pull request #24 from shawnps/masterMáximo Cuadros2016-02-161-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | gofmt -s
| | * | | | | gofmt -sShawn Smith2016-02-171-1/+1
| | |/ / / /
| * | | | | Merge pull request #26 from shawnps/patch-2Máximo Cuadros2016-02-161-1/+1
| |\ \ \ \ \ | | |/ / / / | |/| | | | fix typo
| | * | | | fix typoShawn Smith2016-02-171-1/+1
| |/ / / /
| * | | | Merge pull request #22 from alcortesm/masterMáximo Cuadros2016-02-161-0/+5
| |\ \ \ \ | | | | | | | | | | | | add blame comment to readme and fix typo
| | * | | | [README] Adds Coming Soon sectionAlberto Cortés2016-02-161-1/+6
| | | | | |
| * | | | | Merge pull request #23 from mvader/patch-1Máximo Cuadros2016-02-161-1/+1
| |\ \ \ \ \ | | |/ / / / | |/| | | | Typo on README
| | * | | | Update README.mdMiguel Molina2016-02-161-1/+1
| |/ / / /
* / / / / package documentationMáximo Cuadros2016-02-162-8/+27
|/ / / /
* | | | readme: AcknowledgementsMáximo Cuadros2016-02-161-0/+6
| | | |
* | | | readme: codebeat badgeMáximo Cuadros2016-02-161-1/+1
| | | |
* | | | documentationMáximo Cuadros2016-02-160-0/+0
|\ \ \ \
| * \ \ \ Merge pull request #21 from marcinwyszynski/patch-1Máximo Cuadros2016-02-161-1/+1
| |\ \ \ \ | | | | | | | | | | | | Add codebeat badge
| | * | | | Add codebeat badgeMarcin Wyszynski2016-02-161-1/+1
| | | | | | | | | | | | | | | | | | Brilliant piece of Go code, congrats! Out of curiosity - have you tried benchmarking this against Golang's libgit2 bindings running from ramdisk? For a small side project where I needed `git blame` functionality I got 10-20x speed boost from doing just that.
* | | | | | documentationMáximo Cuadros2016-02-162-0/+93
|/ / / / /
* | | | | examples: basicMáximo Cuadros2016-02-161-0/+41
| | | | |
* | | | | repository: documentationMáximo Cuadros2016-02-161-0/+3
|/ / / /
* | | / travis: allow_failuresMáximo Cuadros2016-02-161-0/+4
| |_|/ |/| |
* | | core.Type stringer improvedMáximo Cuadros2016-02-151-1/+7
| | |
* | | clients: skip ssh test when SSH_AUTH_SOCK is not presentMáximo Cuadros2016-02-132-10/+16
| | |
* | | clients: cleanupMáximo Cuadros2016-02-111-17/+10
| | |
* | | Merge branch 'master' of github.com:src-d/go-gitMáximo Cuadros2016-02-112-12/+38
|\ \ \ | | |/ | |/|
| * | Merge pull request #18 from ivanfoo/masterMáximo Cuadros2016-01-271-1/+4
| |\ \ | | | | | | | | added default shell to makefile
| | * | added default shell to makefileivanfoo2016-01-271-1/+4
| |/ / | | | | | | | | | changed if to a more standard syntax
| * | ciMáximo Cuadros2016-01-272-12/+35
| | |
* | | clients: removing url from the clients constructorMáximo Cuadros2016-02-116-46/+47
|/ /
* | Merge pull request #17 from alcortesm/fix-zlib-invalid-headerv2.1.3Máximo Cuadros2016-01-272-3/+70
|\ \ | | | | | | fix zlib invalid header error
| * | fix zlib invalid header errorAlberto Cortés2016-01-272-3/+70
|/ / | | | | | | | | The return value of reads to the packfile were being ignored, so zlib was getting invalid data on it read buffers.