Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add Repository.Log() method (fix #298) | Antonio Jesus Navarro Perez | 2017-04-11 | 1 | -48/+17 |
| | | | | | | | | | | - CommitIter is now an interface - The old CommitIter implementation is now called StorerCommitIter - CommitWalker and CommitWalkerPost are now iterators (CommitPreIterator and CommitPostIterator). - Remove Commit.History() method. There are so many ways to iterate a commit history, depending of the use case. Now, instead of use the History() method, you must use CommitPreIterator or CommitPostIterator. - Move commitSorterer to references.go because is the only place that it is used, and it must not be used into another place. - Make References method private, it must only be used into blame logic. - Added a TODO into references method, where the sortCommits is used to remove it in a near future. | ||||
* | plumbing: Use ReadBytes() rather than ReadSlice() | Nick Thomas | 2017-03-27 | 1 | -1/+1 |
| | |||||
* | project: move imports from srcd.works to gopkg.in | Antonio Jesus Navarro Perez | 2017-03-07 | 1 | -3/+3 |
| | | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release. | ||||
* | doc: add object fields godoc | Santiago M. Mola | 2017-02-07 | 1 | -3/+8 |
| | |||||
* | doc: improve object iterators godoc. | Santiago M. Mola | 2017-02-07 | 1 | -8/+10 |
| | |||||
* | new srcd.works/go-git.v4 path | Máximo Cuadros | 2017-01-30 | 1 | -3/+3 |
| | |||||
* | Fix some typos in plumbing docs (#244) | Sergio Arbeo | 2017-01-30 | 1 | -3/+3 |
| | |||||
* | move plumbing from top level package to plumbing (#183) | Santiago M. Mola | 2016-12-14 | 1 | -0/+293 |
* 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. |