aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Merge pull request #16 from alcortesm/speedup-packfile-readingMáximo Cuadros2016-01-262-1/+8
|\ \ | |/ |/| Speed up packfile reading
| * Speed up packfile readingAlberto Cortés2016-01-262-1/+8
|/ | | | | By adding a bufio to the trackingReader, otherwise most of the time is spent in syscalls for small reads to the packfile.
* Merge pull request #15 from alcortesm/performance-increase-for-big-reposMáximo Cuadros2016-01-212-12/+14
|\ | | | | Performance increase for big repos
| * performance increase for repos with many files and directoriesAlberto Cortés2016-01-212-12/+14
| |
* | Merge pull request #14 from alcortesm/fix-file-iterator-gorutine-leakMáximo Cuadros2016-01-213-10/+217
|\ \ | | | | | | Fix commit.File() gorutine leak
| * | Readability improvementsAlberto Cortés2016-01-211-2/+4
| |/
| * Fix commit.File() gorutine leakAlberto Cortés2016-01-213-10/+215
|/ | | | | | | | | | | | Commit.File() was leaking a goroutine because it was looping over an iterator without closing its channel. Now commit.File() calls the new Tree.File() method that searches the file in the repository by trasversing the dir tree instead of using the tree.Files() iterator. This not only prevent the goroutine leak, but also speeds up file searching.