aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/tree_test.go
Commit message (Collapse)AuthorAgeFilesLines
* 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.