aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/diff/unified_encoder_test.go
Commit message (Collapse)AuthorAgeFilesLines
* plumbing: diff, reset color at end of line rather than at beginning of nextTom Payne2020-05-171-11/+11
|
* plumbing: diff, don't emit unnecessary resetsTom Payne2020-04-301-8/+8
|
* plumbing: color, make package externalTom Payne2020-04-291-1/+1
|
* plumbing: diff, fix coloring of hunk contextTom Payne2020-04-291-12/+39
|
* plumbing: diff, Add initial colored output support. Fixes #33.Tom Payne2020-04-261-1/+79
|
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-2/+2
|
* format: diff, Handle no newline at end of file. Fixes #936Stuart Jansen2019-10-131-22/+68
| | | | Signed-off-by: Stuart Jansen <sjansen@buscaluz.org>
* Fix fatal corrupt patch in unified diff formatAntonio Jesus Navarro Perez2018-09-071-0/+37
| | | | Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
* add test for crashing diffMechiel Lukkien2018-02-161-0/+37
| | | | | | | this reuses an existing patch, setting context to 6 triggers the bug, becuase of a 5-line trailing equals chunk. Signed-off-by: Mechiel Lukkien <mechiel@ueber.net>
* format: diff, remove error when two files are empty, submodules are simply ↵Máximo Cuadros2017-12-071-1/+1
| | | | | | ignored Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* format/diff: unified diff encoder and public APIAntonio Jesus Navarro Perez2017-05-231-0/+829
- 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