aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/patch.go
Commit message (Collapse)AuthorAgeFilesLines
* *: 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