aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/file.go
Commit message (Collapse)AuthorAgeFilesLines
* plumbing: use `seen` map in tree walkerJeremy Stribling2017-08-271-1/+1
| | | | | | | 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.
* format/diff: unified diff encoder and public APIAntonio Jesus Navarro Perez2017-05-231-0/+12
| | | | | | | | | - Added Patch interface - Added a Unified Diff encoder from Patches - Added Change method to generate Patches - Added Changes method to generate Patches - Added Tree method to generate Patches - Added Commit method to generate Patches
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-3/+3
| | | | 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-4/+4
|
* plumbing/object: allow TreeIter return SubModule entriesMáximo Cuadros2017-02-131-1/+1
|
* doc: add object fields godocSantiago M. Mola2017-02-071-0/+4
|
* doc: improve object iterators godoc.Santiago M. Mola2017-02-071-0/+5
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-2/+2
|
* Fix some typos in plumbing docs (#244)Sergio Arbeo2017-01-301-2/+2
|
* move plumbing from top level package to plumbing (#183)Santiago M. Mola2016-12-141-0/+116
* 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.