Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plumbing: no panic in printStat function. Fixes #177 | nodivbyzero | 2024-03-11 | 1 | -54/+41 |
| | |||||
* | plumbing: object, enable renames in getFileStatsFromFilePatches | Daniel Moch | 2023-11-27 | 1 | -2/+2 |
| | | | | | Diff has handled renames by default since 2020. This change sets Name for the renamed file in a manner similar to diffstat. | ||||
* | Remove unused variables/types/functions | Abhinav Gupta | 2021-11-27 | 1 | -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) | cookeem | 2021-05-12 | 1 | -2/+10 |
| | |||||
* | Use only one name for receiver | Oleg Kovalov | 2020-07-06 | 1 | -8/+8 |
| | |||||
* | Remove unnecessary text from comment | gopye | 2020-04-29 | 1 | -1/+1 |
| | |||||
* | *: migration from gopkg to go modules | Máximo Cuadros | 2020-03-10 | 1 | -4/+4 |
| | |||||
* | *: avoid unnecessary conversions | Christian Muehlhaeuser | 2019-07-29 | 1 | -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 chucks | Máximo Cuadros | 2019-04-24 | 1 | -0/+4 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | plumbing: object, Count stats properly when no new line added at the end. ↵ | oleksiishnyra | 2019-03-14 | 1 | -2/+9 |
| | | | | | | Fixes #1074 Signed-off-by: Oleksii Shnyra <oleksii@global> | ||||
* | plumbing: add context to allow cancel on diff/patch computing | Marc Barussaud | 2018-07-02 | 1 | -2/+30 |
| | | | | Signed-off-by: Marc Barussaud <marc.barussaud@orange.com> | ||||
* | Ignore empty patches when calculating stats (fixes #654) | Alexandr Krylovskiy | 2017-12-04 | 1 | -0/+5 |
| | |||||
* | Add Stats() to Patch and fix diffstat output | Sunny | 2017-11-02 | 1 | -0/+115 |
| | |||||
* | format/diff: unified diff encoder and public API | Antonio Jesus Navarro Perez | 2017-05-23 | 1 | -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 |