aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/object.go
Commit message (Collapse)AuthorAgeFilesLines
* hack to prevent codecov from adding more codepathsAndrew Thornton2020-02-231-6/+3
| | | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix date readingAndrew Thornton2020-02-231-7/+12
| | | | | | | | | | | | | | | | In the British TZ the following time: ``` 1579639200 +0100 ``` will be erroneously parsed as being with the GMT TZ. This leads to multiple errors with GPG validation. This PR fixes this by using the provided TZ information to create a FixedZone and sets that as the TZ Signed-off-by: Andrew Thornton <art27@cantab.net>
* plumbing: object: Clamp object timestamps before unix epoch to unix epochTaru Karttunen2018-08-291-1/+5
| | | | Signed-off-by: Taru Karttunen <taruti@taruti.net>
* Work around a Go bug when parsing timezonesNick Thomas2017-03-301-1/+6
|
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-2/+2
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* doc: add godoc to SignatureSantiago M. Mola2017-02-071-3/+6
|
* doc: improve object iterators godoc.Santiago M. Mola2017-02-071-4/+5
|
* doc: improve docs for object package.Santiago M. Mola2017-02-061-2/+5
| | | | | | | | * add package description. * add godoc to DecodeBlob. * clarify godoc for Object and Blob.
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-2/+2
|
* Fix some typos in plumbing docs (#244)Sergio Arbeo2017-01-301-3/+3
|
* plumbing: fix signature with `>` before `<` parsing (#204)Máximo Cuadros2017-01-091-2/+6
|
* move plumbing from top level package to plumbing (#183)Santiago M. Mola2016-12-141-0/+217
* 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.