aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/patch.go
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused variables/types/functionsAbhinav Gupta2021-11-271-4/+0
| | | | | | | | [staticcheck](https://staticcheck.io/) reported a number of unused fields, functions, types, and variables across the code. Where possible, use them (assert unchecked errors in tests, for example) and otherwise remove them.
* plumbing: object/patch, printStat strings.Repeat cause panic (#310) cookeem2021-05-121-2/+10
|
* Use only one name for receiverOleg Kovalov2020-07-061-8/+8
|
* Remove unnecessary text from commentgopye2020-04-291-1/+1
|
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-4/+4
|
* *: avoid unnecessary conversionsChristian Muehlhaeuser2019-07-291-1/+1
| | | | | | | No need to convert these values, they're already of the right type. Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com> (cherry picked from commit a1d8a7ac8bd0e4aff0f27dbb8bb37b8bd13a1346)
* plumbing: commit.Stats, fix panic on empty chucksMáximo Cuadros2019-04-241-0/+4
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* plumbing: object, Count stats properly when no new line added at the end. ↵oleksiishnyra2019-03-141-2/+9
| | | | | | Fixes #1074 Signed-off-by: Oleksii Shnyra <oleksii@global>
* plumbing: add context to allow cancel on diff/patch computingMarc Barussaud2018-07-021-2/+30
| | | | Signed-off-by: Marc Barussaud <marc.barussaud@orange.com>
* Ignore empty patches when calculating stats (fixes #654)Alexandr Krylovskiy2017-12-041-0/+5
|
* Add Stats() to Patch and fix diffstat outputSunny2017-11-021-0/+115
|
* format/diff: unified diff encoder and public APIAntonio Jesus Navarro Perez2017-05-231-0/+187
- 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