aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/tree_test.go
Commit message (Collapse)AuthorAgeFilesLines
* plumbing: use `seen` map in tree walkerJeremy Stribling2017-08-271-3/+29
| | | | | | | This helps avoids iterating down the same trees for every commit. For a big-ish repo with 35K objects (17K commits), this reduced the time for calling `revlist.Objects` during a push (with 0 hashes to ignore) from more than ten minutes to less than a minute.
* plumbing: object, public Tree.FindEntry and minor diff changesMáximo Cuadros2017-04-111-0/+6
|
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-4/+4
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* replace os.FileMode use with filemode.FileModeAlberto Cortés2017-03-011-166/+167
|
* *: update tests to meet new submodule fixtureMáximo Cuadros2017-02-211-2/+3
|
* documentation and API improvementsMáximo Cuadros2017-02-211-1/+4
|
* plumbing/object: allow TreeIter return SubModule entriesMáximo Cuadros2017-02-131-0/+38
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-2/+2
|
* object: modes in TreeEntry as os.FileMode, and not the git internalMáximo Cuadros2017-01-281-143/+143
|
* adds Tree method to Tree (#224)Alberto Cortés2017-01-261-0/+34
| | | | | | | | This patch adds a new method to the Tree object that allows you to get a child tree from a parent tree by its relative name. Before this patch, this was only possible with files, using the File method. The new Tree method has a similar signature to the old File method for consistency.
* move plumbing from top level package to plumbing (#183)Santiago M. Mola2016-12-141-0/+1425
* plumbing: rename Object -> EncodedObject. * plumbing/storer: rename ObjectStorer -> EncodedObjectStorer. * move difftree to plumbing/difftree. * move diff -> utils/diff * make Object/Tag/Blob/Tree/Commit/File depend on storer. * Object and its implementations now depend only on storer.EncodedObjectStorer, not git.Repository. * Tests are decoupled accordingly. * move Object/Commit/File/Tag/Tree to plumbing/object. * move Object/Commit/File/Tag/Tree to plumbing/object. * move checkClose to utils/ioutil. * move RevListObjects to plumbing/revlist.Objects. * move DiffTree to plumbing/difftree package. * rename files with plural nouns to singular * plumbing/object: add GetBlob/GetCommit/GetTag/GetTree.