aboutsummaryrefslogtreecommitdiffstats
path: root/tree.go
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #15 from alcortesm/performance-increase-for-big-reposMáximo Cuadros2016-01-211-9/+11
|\ | | | | Performance increase for big repos
| * performance increase for repos with many files and directoriesAlberto Cortés2016-01-211-9/+11
| |
* | Readability improvementsAlberto Cortés2016-01-211-2/+4
|/
* Fix commit.File() gorutine leakAlberto Cortés2016-01-211-0/+80
| | | | | | | | | | | | 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.
* Ignore submodule dirs (empty directories without associated object), add ↵Alberto Cortés2016-01-081-1/+5
| | | | empty dir test
* fix PR#7 commentsAlberto Cortés2015-12-041-6/+0
|
* Blame support for filesAlberto Cortés2015-11-251-1/+2
| | | | | | | | This also includes a diff package and revlist package (needed by blame) Some extra packfiles (<1MB) are also included, to be used as fixtures in the tests.
* internal -> coreMáximo Cuadros2015-10-311-7/+7
|
* tree and commitMáximo Cuadros2015-10-271-0/+122