aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/change_test.go
Commit message (Collapse)AuthorAgeFilesLines
* update to go-billy.v4 and go-git-fixtures.v3Máximo Cuadros2017-11-231-1/+1
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* format/diff: unified diff encoder and public APIAntonio Jesus Navarro Perez2017-05-231-0/+25
| | | | | | | | | - 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
* object: avoid unreachable codeSantiago M. Mola2017-04-261-4/+1
|
* object: fix Change.Files() method behavior (fix #317)Antonio Jesus Navarro Perez2017-04-061-0/+48
| | | | | - If 'from' or 'to' are tree entries that aren't files, Files() method will return nil instead of object not found error. - Added a test checking this using modules fixture.
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-5/+5
| | | | 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-5/+5
|
* plumbing/object: move difftree to object packageAntonio Jesus Navarro Perez2017-02-241-0/+299
- To avoid ciclic dependency errors, we move all the difftree files to object package. - Added Diff method to Tree object.